Comments (6)
Before I made a confusion, I wanted to say that the script forwards 3 messages and then waits for 3s, not that it works 3s and waits for 3s. The script currently forwards ~2000msg in ~10 minutes, so 2000msg/600s/=~3.3msg/s. Where do you get the value of one message? I thought that the script will forward ~3msg/s and then waits for 3s if that is the set value. The rate/speed remains the same, only the delay changes, so even if the delay is set to 10 the script will still forward 3msg/s and then stops for 10s.
I think there is confusion between the speed/rate of msg/s of the script and the delay. Maybe you wanted to say that the script works for 1s and then waits for the set value of s From my calculation if the script sents 3msg/s and then waits for 3s, it will forward 2700msg/h - the flood is triggered because the limit is ~2000msg/h.
Value of 4 gives 2160msg/h, somewhere on the edge. That's why I ask for float value. Or maybe my assumptions are wrong.
from tgcf.
Thanks a lot! I will try this little hack to see how it works. So, a value of 3 means the script will work for 3s and then stops for 3s and so on? Only whole numbers work or I can try something like 2.5, 3.3?
from tgcf.
@tissole Why do you want to get delay for 3.3 sec 😂🤣!!
Btw,only integer value will work ,not the float value.
from tgcf.
So, a value of 3 means the script will work for 3s and then stops for 3s and so on? Only whole numbers work or I can try something like 2.5, 3.3?
It will forward one message, and then wait for 3s.
And float value is not supported. Why do you need such weird stuff ?
Integer works fine.
from tgcf.
The rate/speed remains the same, only the delay changes, so even if the delay is set to 10 the script will still forward 3msg/s and then stops for 10s.
why are you complicating stuff @tissole ? why are are you worrying about insane stuff ?
is this simple thing not clear ?
forward one message -> wait -> forward again -> repeat
we can only set a custom wait time. we cannot change the speed at which one message is forwarded.
and stop worrying about rate limits.
i personally don't use this delay feature. rate limit is inevitable. you cant send more messages than allowed.
end of discussion.
i don't want to waste a single more second on this issue.
from tgcf.
hi @tissole, from the next version (wait for the next release) you can set a float value.
I have already updated the code, but it will be published in the package registry after the next release. (possibly this week)
from tgcf.
Related Issues (20)
- Fix session string HOT 7
- Delay function aint working. HOT 1
- MSG Forwarding not working
- Prominently display warnings about Telegram ToS violation when deploying to a user account. HOT 18
- TimedOutError: RPCError -503: Timedout (caused by GetStateRequest) HOT 2
- tgcf-web not fount. HOT 3
- TimedOutError: RPCError -503: Timedout (caused by GetChannelDifferenceRequest) HOT 6
- Planned features for 2024 Release HOT 2
- user filter doesn't work HOT 1
- filter problem
- What the f#ck is this HOT 1
- tgcf-web not found
- Forward restricted media HOT 2
- Digital Ocean App version is outdated (Running tgcf 1.1.7.post1) HOT 3
- Bot Token Not Found HOT 1
- WARNING: The requested image's platform (linux/amd64) does not match the detected host platform HOT 1
- rm: logs_n_lines.txt: No such file or directory HOT 4
- Redirection not working HOT 8
- How to forward from private channels in which user is a subscriber but doesn't have invite link of it HOT 1
- It no longer works! ded repo don't waste ur time on this repo, dev doesn't care anymore. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tgcf.