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!

Switch Equipment

Newbie Spellweaver
Joined
Apr 28, 2014
Messages
27
Reaction score
5
Hello, does not work after compilation. ^^

Lodelight - Switch Equipment - RaGEZONE Forums
[video]https://i.gyazo.com/b2dafaddb2f4d5ae0837b7e78b21e052.mp4[/video]

If anyone can help me thank you in advance

0df182b69c350c0c65998ebb48c5deba - Switch Equipment - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Jan 29, 2014
Messages
60
Reaction score
1
anyone got idea why the fashion in switch equip cannot be put ?
 
Last edited:
Newbie Spellweaver
Joined
May 19, 2020
Messages
37
Reaction score
0
Could you by any chance re-upload this? :/
 
Newbie Spellweaver
Joined
Jan 23, 2021
Messages
5
Reaction score
0
Hello thank you for sharing!
I was able to make it work without worries on v19 sources. Only small problem is that only the weapons and armor this switch (jewelry and fashion do not put this in the switch inventory) and I cannot put the logo vip in my spell bar
thanks you !
 
Initiate Mage
Joined
May 30, 2021
Messages
1
Reaction score
0
Hi, could anyone add the jewelry and fashion to switch equipment system?
 
Last edited by a moderator:
Inactive
Joined
Jan 20, 2009
Messages
1,014
Reaction score
1,830
Adding jewelry and fashion is as simple as adding an if statement with the defines. Super basic stuff no one really needs help doing tbh. Try tinkering with it a bit as it's easier to do then you may think.
 
Newbie Spellweaver
Joined
Oct 28, 2008
Messages
33
Reaction score
3
Sorry to resurrect the topic, I have the error "OnJoin(): Character, 4" when adding, everything is correct in the database and source, but it won't. What could it be? I'm using Ketchup source v19.
 
Newbie Spellweaver
Joined
Nov 10, 2012
Messages
29
Reaction score
3
Its an error log with database.

You have added something in the wrong order probably, recheck everything again
 
Junior Spellweaver
Joined
Mar 22, 2004
Messages
103
Reaction score
1
Hi there,
Does anyone have APP_SWITCHEQUIP and APP_SWITCHEQUIP_INFO for resdata.inc that will work with Ketchup 18.3 package?
The ones in the default Switch Equipment package are giving me an error when I try to open the client or use ATolls
Thanks
 
Inactive
Joined
Jan 20, 2009
Messages
1,014
Reaction score
1,830
Hi there,
Does anyone have APP_SWITCHEQUIP and APP_SWITCHEQUIP_INFO for resdata.inc that will work with Ketchup 18.3 package?
The ones in the default Switch Equipment package are giving me an error when I try to open the client or use ATolls
Thanks

Upgrade the app to 16+ format. It's written in this section alot so searching for it shouldn't be hard.
 
Newbie Spellweaver
Joined
Sep 23, 2013
Messages
5
Reaction score
1
Just a complementary information, dont forget to escape the query otherwise you will get an SQL injection...
Code:
[COLOR=#000000]strQuery.Format("{CALL uspSaveEquipSwitch ('%07d', '%02d', %d, '%s', %d, '%s')}", pMover->m_idPlayer, g_appInfo.dwSys, nIndex++, pEquip.strTitle, pEquip.nActivate, strObjIndex);[/COLOR]            if (!pQuery->Exec(strQuery))
            {
                Error("%s %d", __FUNCTION__, __LINE__); [COLOR=#000000]            }[/COLOR]
For example, if some player saves the macro as '; shutdown;-- then your database will shutdown.
Otherwise reduce the strTitle length to 8 characters for example so injection would be hard to do + escape SQL query in all the cases anyway.
 
Junior Spellweaver
Joined
Mar 24, 2021
Messages
149
Reaction score
25
Sorry to bother you guys just wanna need some help about this rn hehe. Just wondering where to fix this?

 
Back
Top