Hyroshima Posted April 28, 2024 Posted April 28, 2024 View File Baron of Cards By deliver with noble items to the baron he will allow you to try your luck in your card game, being able to get cards mini-boss, mvps or common. Submitter Hyroshima Submitted 04/26/24 Category Games, Events, Quests Video https://www.youtube.com/watch?v=BIfQYpXqsPg Content Author Hyroshima 1 1 Quote
Hyroshima Posted April 30, 2024 Author Posted April 30, 2024 11 hours ago, Israel said: Hello, how are you? I have these errors, can you help? Sorry, but this error is not from the Baron Of Cards system. getarrayindex() it's a Hercules command! I believe that this script you are trying to use was made to run on Herc, to run on rA you need to properly convert the commands and maintain the logic. Quote
Hyroshima Posted April 30, 2024 Author Posted April 30, 2024 6 hours ago, Israel said: Hello, but I downloaded it from Rathena's website, I didn't know it was for Hercules Send me the link where you downloaded this here on rathena so I can take a look. !please do not change the text size and white background, this is unpleasant. Quote
Rexona Posted May 7, 2024 Posted May 7, 2024 Hi Hiroshima, how are you? I hope so, my friend, I'm having trouble with this error, could you help me? Quote
Hyroshima Posted May 8, 2024 Author Posted May 8, 2024 5 hours ago, Rexona said: Hi Hiroshima, how are you? I hope so, my friend, I'm having trouble with this error, could you help me? Did you change the script? This line you mention is incomplete, the version in the script I sent is like this: getinventorylist; for(set .@i,0; .@i<getarraysize(.itens); set .@i,.@i+1) { if(inarray(@inventorylist_id[0],.itens[.@i]) > -1) { setarray .@invitm[getarraysize(.@invitm)],.itens[.@i]; setarray .@invitm$[getarraysize(.@invitm$)],""+getitemname(.itens[.@i])+""; } } The revision of your emulator is so old that it doesn't have the inarray() command and have you tried to remove it? Quote
Rexona Posted May 9, 2024 Posted May 9, 2024 On 5/8/2024 at 1:30 AM, Hyroshima said: Did you change the script? This line you mention is incomplete, the version in the script I sent is like this: getinventorylist; for(set .@i,0; .@i<getarraysize(.itens); set .@i,.@i+1) { if(inarray(@inventorylist_id[0],.itens[.@i]) > -1) { setarray .@invitm[getarraysize(.@invitm)],.itens[.@i]; setarray .@invitm$[getarraysize(.@invitm$)],""+getitemname(.itens[.@i])+""; } } The revision of your emulator is so old that it doesn't have the inarray() command and have you tried to remove it? Hello, I didn't make any changes to your script, I use a 2017 emulator, your script only works on current (?) Quote
Hyroshima Posted May 10, 2024 Author Posted May 10, 2024 10 hours ago, Rexona said: Hello, I didn't make any changes to your script, I use a 2017 emulator, your script only works on current (?) Attach here the script_commands.txt file that is in the doc folder of your emulator, so I will check what commands are missing and will port a version for older revisions. Quote
Rexona Posted May 10, 2024 Posted May 10, 2024 (edited) script_commands.txt Edited May 10, 2024 by Rexona Quote
Hyroshima Posted May 11, 2024 Author Posted May 11, 2024 12 hours ago, Rexona said: script_commands.txt 353.63 kB · 1 download I sent a compatible version for emulators without inarray, just wait for the rA mods to release it. Quote
Akkarin Posted May 13, 2024 Posted May 13, 2024 The inarray script command was added 6 years ago. Update your emulators instead of getting developers to provide backwards compatibility with ancient code. I'm not approving the file. Quote
bellacalleb Posted May 14, 2024 Posted May 14, 2024 I know it's too much to ask, but wouldn't it be cool to have a function to add quantities to charged items? Quote
Hyroshima Posted May 15, 2024 Author Posted May 15, 2024 14 hours ago, bellacalleb said: I know it's too much to ask, but wouldn't it be cool to have a function to add quantities to charged items? Yes, that was a little mistake of mine I've already made the changes, wait for a mod to allow the files to be updated. 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.