chriser Posted September 16, 2013 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 94 Reputation: 4 Joined: 01/29/13 Last Seen: August 11, 2020 Share 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 Link to comment Share on other sites More sharing options...
Limestone Posted September 16, 2013 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 647 Reputation: 16 Joined: 11/21/11 Last Seen: December 28, 2022 Share 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 Link to comment Share on other sites More sharing options...
Aleos Posted September 16, 2013 Group: Development Manager Topic Count: 56 Topics Per Day: 0.01 Content Count: 732 Reputation: 525 Joined: 12/13/11 Last Seen: June 13, 2024 Share 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 Link to comment Share on other sites More sharing options...
Limestone Posted September 16, 2013 Group: Members Topic Count: 155 Topics Per Day: 0.03 Content Count: 647 Reputation: 16 Joined: 11/21/11 Last Seen: December 28, 2022 Share Posted September 16, 2013 oh i see, thank you so much aleos Quote Link to comment Share on other sites More sharing options...
chriser Posted September 16, 2013 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 94 Reputation: 4 Joined: 01/29/13 Last Seen: August 11, 2020 Author Share Posted September 16, 2013 Fixed the error, should work now too (seems windows is using not using C99) Quote Link to comment Share on other sites More sharing options...
Reducto Posted December 15, 2013 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 231 Reputation: 9 Joined: 12/16/11 Last Seen: August 10, 2016 Share Posted December 15, 2013 Can I use this with eAthena? Quote Link to comment Share on other sites More sharing options...
Ice Bear Posted October 29, 2019 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 166 Reputation: 27 Joined: 11/20/11 Last Seen: Tuesday at 12:35 AM Share Posted October 29, 2019 i hope there is an updated version of this @chriser @Aleos @Limestone @Peopleperson49 how about this one? Quote Link to comment Share on other sites More sharing options...
Peopleperson49 Posted November 9, 2019 Group: Members Topic Count: 219 Topics Per Day: 0.05 Content Count: 1181 Reputation: 141 Joined: 01/27/12 Last Seen: July 15, 2024 Share 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 Link to comment Share on other sites More sharing options...
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.