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!

Events & Event NPC Extend

Junior Spellweaver
Joined
Oct 12, 2018
Messages
121
Reaction score
39
Today i will release the Offsets needed to extend both Events and Event NPCs added in the file Event.scp

Default Limits are : 1 Event NPC and 10 Events in total

Event Extend

Open the procedure called cabal_sp_ems_get_events in your EventData Database.

Comment out the TOP 10 .

Before:

Code:
SELECT
TOP 10
EventID,
EventType,
[Option],

After:

Code:
SELECT
--TOP 10
EventID,
EventType,
[Option],

Save the procedure.

------------------------------------------------------------------------------------------------------------------------------------

Now you need to change a offset in your DBAgent.bin


Open DBAgent.bin in 010 Editor press CTRL+G and jump to the following Address:

Code:
85940h

Now change following:

Code:
0A > AA

Event NPC Extend

Open WorldSvr.bin in 010 Editor press CTRL+G and jump to the following Addresses:

Code:
[B]405E74[/B]
 
Offset1 (2 values) 90 90

[B]405FD2[/B]

Offset2 (6 values) 90 90 90 90 90 90

[B]407F15
[/B]
Offset3 (2 values) 90 90

[B]407ED3h
[/B]
Offset4 (18 values) 90 90 90 90 90 90 ...

[B]407EE9h
[/B]
Offset5 (6 values) 90 90 90 90 90 90

[B]40805C
[/B]
Offset6 (6 values) 90 90 90 90 90 90

Thats it . After it you can add more then 10 Events to more then 1 NPC even on the same Map.


Known Issues

The following offsets will cause a Warning in ur Logs similar to this :

Code:
[Mon Oct 19 2020 18:23:45.669988 4147828480]: [###INVALID###] 'iNpcsIdx > 0 && iNpcsIdx < MAX_NPCSDATANUM' Failed : File: world1-npc.scp, Table: NpcPos, Row: 0 [World.cpp:614]

This does not effect ur Server functionality . It is a check which fails now because of the changed offsets. IF you want u can disable this check on ur own.

-----------------------------------------------------------------------------------------------

After 18 or 20 enabled Events at the same time which means UseFlag= 1 . The channels crash without Error after some minutes.

Maybe someone here is able to find the issue and fix it. If so please share it in this post and i will add it.



If you like this release it would be nice if you hit the thanks Button.
 
Last edited:
Banned
Banned
Joined
Jul 14, 2020
Messages
420
Reaction score
35
Re: Events &amp; Event NPC Extend

I can't find 0A to change into AA in DBAgent bin

Untitled - Events & Event NPC Extend - RaGEZONE Forums



I found it instead of CTRL + F use CTRL + G :D

- - - Updated - - -


This 2 offset to left from the searched address or this 2 offset to the right to change 405E74 Offset1 (2 values) 90 90? Sorry I am new with this.
 

Attachments

You must be registered for see attachments list
Last edited:
Junior Spellweaver
Joined
Oct 12, 2018
Messages
121
Reaction score
39
Re: Events &amp; Event NPC Extend


This 2 offset to left from the searched address or this 2 offset to the right to change 405E74 Offset1 (2 values) 90 90? Sorry I am new with this.

Always the values from the right of ur searched address
 
Newbie Spellweaver
Joined
Jan 13, 2018
Messages
76
Reaction score
2
There is no complete repair.
 
Newbie Spellweaver
Joined
Jan 13, 2018
Messages
76
Reaction score
2
I solved it perfectly.The administrator deleted my post.So I can't share it
 
Junior Spellweaver
Joined
Oct 12, 2018
Messages
121
Reaction score
39
I solved it perfectly.The administrator deleted my post.So I can't share it

This offsets i shared working normally. I am using like 5 Event NPCs with 15 Active Events etc ...
 
Joined
Aug 27, 2013
Messages
788
Reaction score
1,905
I solved it perfectly.The administrator deleted my post.So I can't share it
I've clearly stated why your "perfect solution" aka image has been deleted, if you would like a reminder: post some sort of a pointers for people to solve the issue, rather than posting an image of something that you have not done yourself, but claiming to do so, or don't reply in thread at all.
 
Newbie Spellweaver
Joined
Jan 29, 2018
Messages
55
Reaction score
3
Thankyou for sharing
btw this eventnpc can i make another event npc on any map like yul example PORTLUX ?
 
Banned
Banned
Joined
Jul 14, 2020
Messages
420
Reaction score
35
Waiting for the said issue in disconnecting if has 18/20 events, and also how can I disable this MAX_NPCSDATANUM?
 
Junior Spellweaver
Joined
Jun 27, 2013
Messages
101
Reaction score
18
Here is 1 more limit... when use 800+ total active price_id/items on event shop - channel shutdown without log... Maybe anyone know how to fix it?
 
Back
Top