chriser Posted September 16, 2013 Posted September 16, 2013 (edited) Hi guys, just finished the @autolootclass (@alootcls) implementation. If you have any problems or questions, just let me know. The command works exactly like @alootid, except that it loots specific item types (e.g. @alootcls +6 loots cards only) To make it work for players, you have to add the command to your groups.conf of course. Greets~ chriser Edit: Fixed compile error alootcls.patch Edited September 16, 2013 by chriser Quote
Limestone Posted September 16, 2013 Posted September 16, 2013 I'll try this, and report here if i encountered some problems or bugs. Error in Compiling, Im using Windows 7 x64 2>d:\ragnarok online\rathena\src\map\atcommand.c(5941) : error C2143: syntax error : missing ';' before 'type' 2>d:\ragnarok online\rathena\src\map\atcommand.c(5945) : error C2065: 'type' : undeclared identifier 2>d:\ragnarok online\rathena\src\map\atcommand.c(5955) : error C2065: 'type' : undeclared identifier 2>d:\ragnarok online\rathena\src\map\atcommand.c(5955) : error C2065: 'type' : undeclared identifier 2>d:\ragnarok online\rathena\src\map\atcommand.c(5955) : error C2065: 'type' : undeclared identifier 2>d:\ragnarok online\rathena\src\map\atcommand.c(5955) : error C2065: 'type' : undeclared identifier 2>d:\ragnarok online\rathena\src\map\atcommand.c(5955) : error C2065: 'type' : undeclared identifier 2>d:\ragnarok online\rathena\src\map\atcommand.c(5955) : error C2065: 'type' : undeclared identifier 2>d:\ragnarok online\rathena\src\map\atcommand.c(5962) : error C2065: 'type' : undeclared identifier 2>d:\ragnarok online\rathena\src\map\atcommand.c(5963) : error C2065: 'type' : undeclared identifier 2>d:\ragnarok online\rathena\src\map\atcommand.c(5963) : error C2065: 'type' : undeclared identifier 2>d:\ragnarok online\rathena\src\map\atcommand.c(5968) : error C2065: 'type' : undeclared identifier 2>d:\ragnarok online\rathena\src\map\atcommand.c(5973) : error C2106: '=' : left operand must be l-value 2>d:\ragnarok online\rathena\src\map\atcommand.c(5974) : error C2065: 'type' : undeclared identifier 2>d:\ragnarok online\rathena\src\map\atcommand.c(5974) : error C2065: 'type' : undeclared identifier @FIX: add "int type = 0;" before "int i;" and delete the "int" in "int type = atoi(message);" I'm Curious about this msg, 0 = Usable : healing 2 = Usable : other 3 = Misc 4 = Weapon 5 = Armor 6 = Card 7 = Pet Egg 8 = Pet Equipment 10 = Arrow/Ammunition 11 = Usable : delayed consumption (items with script "pet" or "itemskill") why is there no number 1? Quote
Aleos Posted September 16, 2013 Posted September 16, 2013 I was actually working on an implementation as well. Glad to see you got around to it. @Rage The reason is because the enum value 1 in item_types is IT_UNKNOWN and value 9 is IT_UNKNOWN2. Quote
Limestone Posted September 16, 2013 Posted September 16, 2013 oh i see, thank you so much aleos Quote
chriser Posted September 16, 2013 Author Posted September 16, 2013 Fixed the error, should work now too (seems windows is using not using C99) Quote
Ice Bear Posted October 29, 2019 Posted October 29, 2019 i hope there is an updated version of this @chriser @Aleos @Limestone @Peopleperson49 how about this one? Quote
Peopleperson49 Posted November 9, 2019 Posted November 9, 2019 This was made in the period of time when I wasn't doing anything with RO. I am in the military and my deployment got extended multiple times so I had to leave my server to be managed by others must longer than expected. They ran it into the ground and when I got back it was dead. Before I left for deployment it had almost 1200 regular players (which costs me out the butt for hosting). I had got lucky a couple times and absorbed a couple big servers that went down and it was still growing. After the official shut down I just didn't have the heart to restart again as long as I am in the military. I am still looking for a good mid rate server to share all my custom stuff with, but so far nothing has presented itself. Long story short, sorry I don't have it. Peopleperson49 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.