Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Tutorial] MainSvrT - Systems / Events / Settings

ASN

Please STAHP!
Joined
Dec 21, 2010
Messages
919
Reaction score
729
If you have questions, just post and I'll do my best to answer you.



Cheers.

-V

Glad to have you back, now get us some non-backdoored useful kal stuff xD (Obsidian <3)

:thumbup:
 
Custom Title Activated
Loyal Member
Joined
Apr 5, 2008
Messages
1,325
Reaction score
133
nice to see you back finnaly some things will be released with out backdoors.
 
Joined
Jun 23, 2010
Messages
785
Reaction score
228
Event - [(char_none)]
Event flags.
0 - 0x01
*If system 1 is active, call CPlayer::EventBuff(0) every ten minutes.
If system 1 is not active, call CPlayer::EventBuff(0) at 01:00, 12:00, and 20:00.
Doubles drops.

1 - 0x02
Give player Golden Coin (649) every 30 minutes while active.


2 - 0x04
Rock, Paper, Scissors event.

3 - 0x08
Referenced at 0x464B6C
If active:
Do comparison of player level with 5
If greater than or equal, compare playerAddr + 0x1C0 and 439941
If greater than or equal, do a write
Else do a different write

4 - 0x10
Referenced at 0x464E35
If country 1, return.
If event 4 inactive, return.
Call CChar::IsBState()
Do stuff based on result.

5 - 0x20
Unreferenced.

6 - 0x40
Snow event.

7 - 0x80
Thanksgiving Event
Referenced at 0x464F3C - needs decompilation
If country is not 1, return.
If event 7 is active, continue.
If player has item 653, continue - else send packet about it?
Check BState (0x100, 0)
Removal of item 653 involved.

8 - 0x100
Annual Event
Referenced at 0x456168
CAuthSocket::Write 0x10
CDBSocket::Write 0x4D
Referenced at 0x4640F9
If active:
Toggles event on DBSvr perhaps?
Referenced at 0x46D340 (CPlayer::EventProcessNPC)
If inactive, return.
Checks player state - if incorrect, write and return (1?).
Gives bound items based on player state (650, 600, 150, NA)
-One day exp stone
-Stone of chance
-One day wealth stone
-One day lucky stone
Referenced at 0x495E50 (CSocket::OnDeletePlayer)
Does an extra write to AuthSocket if active.

i don't understand this :D
 
Skilled Illusionist
Joined
May 14, 2008
Messages
335
Reaction score
45
Have you ever noticed the Event configuration line in MainSvrT's config file?

That's a list of what effects the different events have when activated.

-V
 

ToF

Master Summoner
Joined
Jun 12, 2007
Messages
513
Reaction score
170
I wish to know more about the "NumberOfThreads"
 
Elite Diviner
Joined
Feb 8, 2012
Messages
439
Reaction score
867
I wish to know more about the "NumberOfThreads"


I dont know how much this is working/optimized, but with more threads you can theoretically use more cores or hyperthreads of your CPU, so if you have a multicore Root-Server it could increase the speed/performance of the MainServer, if you set up more Threads. So for e.g. every Thread can be run on a core and they run real parallel => increased performance.
 

ASN

Please STAHP!
Joined
Dec 21, 2010
Messages
919
Reaction score
729
Thanks for the info :)

Trev, why didn't you reply on my FB messages? We're still interested in buying your instance source

"Mr.MOD" you just deleted all the posts that were not about the topic, but yet let this one stay untouched ;)

Not biased at all :rolleyes:
 
Skilled Illusionist
Joined
May 14, 2008
Messages
335
Reaction score
45
Trev, why didn't you reply on my FB messages? We're still interested in buying your instance source

I barely have enough time to keep up with academic email. :p:

-V
 
Back
Top