Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 01:10

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Call a code automatically

Discussion on Call a code automatically within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2018
Posts: 13
Received Thanks: 0
Call a code automatically

I'd like to ask if there's a way to set a time to call a certain code like for example

I wanna set a call for "/announce"
This way its easier to start a cetrtain feature that we've added.

I hope someone would understand what im trying to say.
tedfailon is offline  
Old 02/14/2019, 19:56   #2
 
elite*gold: 0
Join Date: Dec 2009
Posts: 51
Received Thanks: 22
Take a look at the Function SetTimer.
For example if you just want to send packets to all connected players you could declare an ID for your new Timer in CoreServer.cpp and call SetTimer with your new ID in "InitInstance(HINSTANCE hInstance, int nCmdShow)".
Keep in mind that you have to kill that Timer when closing the Core Server (e.g. WM_Destroy ind WndProc).
In the function "OnTimer" you just simply add your new entry and call the corresponding code.
I hope i could help you with that.
I'm not really experienced with the Flyff Source and still learning
Crimal is offline  
Thanks
2 Users
Old 02/14/2019, 20:00   #3
 
netHoxInc's Avatar
 
elite*gold: 117
Join Date: Jan 2008
Posts: 790
Received Thanks: 992
Another option would be to create a new thread running your codes as you wish them to.

The options to achieve ur goal are limitless probably. Google your way arround timer's and threads, or take Crimal's solution, but im not familar to the Source in that way so i cannot confirm if he/she is correct. But it sounds well to me xD

Anyways, a thread will allways do the job. Maybe do a for-loop which reset's after x count's and use a sleep to determine the length of each count.

Hope i could give you some creative ideas.

Cheers, net
netHoxInc is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[TOOL] LOL Auto Client V4 - automatically accept, call your lane and pick champion
12/12/2019 - League of Legends Hacks, Bots, Cheats & Exploits - 22 Replies
Hello there! I decided to make a new thread for new release since it's been almost a year. Riot changed the PVP.net client design and I had to follow in their steps. TL;DR: Download from GitHub (.jar file, unobfuscated) Source code Wiki with description Report a problem on Github (check known issues and FAQ first! Requires Java 8 - update your java if needed!) Contact me on Facebook for help
Runescape - Automatically Talker bot
03/08/2010 - General Gaming Discussion - 1 Replies
http://img236.imageshack.us/img236/5173/elitetalke rdi8.jpg Download here (Right Click save as) <hr>Append on Jul 31 2007, 02:00<hr> ill be updating a new which is coming out
Is there any bot that can pick up items automatically?
09/04/2008 - Conquer Online 2 - 7 Replies
Like if i want to hunt for +1's on bi, it would be nice for the bot to just pick up all of one type of item? Is there anythign like that?
Why is my screen turning blue and will automatically restart when i play CABAL?
07/09/2008 - Cabal Online - 4 Replies
PLS I NEED HELP!!!
You have Automatically Died -TBOT
08/19/2007 - Silkroad Online - 2 Replies
Okay guys i knew something was fishy being alt tab out and always dying. So i decided to just stare at the bot to take a look to see what was going on. After about 25 mins my hp was a lil less than half then all a sudden I hear the Death music and it stated something like " You have died automatically. If you want to remove this go to control panel protection" I do not see any option to turn auto death or w.e off. Anyone have any ideas? BTW this is with : T BOT



All times are GMT +1. The time now is 01:11.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.