Jump to content

Quests, Games: Baron of Cards


Recommended Posts


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  176
  • Reputation:   78
  • Joined:  07/11/14
  • Last Seen:  

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.


 

  • Upvote 1
  • MVP 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.01
  • Content Count:  35
  • Reputation:   0
  • Joined:  07/06/16
  • Last Seen:  

.

Edited by Israel
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  176
  • Reputation:   78
  • Joined:  07/11/14
  • Last Seen:  

11 hours ago, Israel said:
Hello, how are you? I have these errors, can you help?

image.png.e64da8c3293b72027cd6a431ff88ffc3.png

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.01
  • Content Count:  35
  • Reputation:   0
  • Joined:  07/06/16
  • Last Seen:  

..

Edited by Israel
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  176
  • Reputation:   78
  • Joined:  07/11/14
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   0
  • Joined:  05/07/24
  • Last Seen:  

Hi Hiroshima, how are you? I hope so, my friend, I'm having trouble with this error, could you help me?

image.png.5b47a8604ffb869715adf1b20ff4c13e.png
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  176
  • Reputation:   78
  • Joined:  07/11/14
  • Last Seen:  

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?

 

 

image.png.5b47a8604ffb869715adf1b20ff4c13e.png

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   0
  • Joined:  05/07/24
  • Last Seen:  

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 (?)

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  176
  • Reputation:   78
  • Joined:  07/11/14
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  3
  • Reputation:   0
  • Joined:  05/07/24
  • Last Seen:  

Posted (edited)

script_commands.txt

Edited by Rexona
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  176
  • Reputation:   78
  • Joined:  07/11/14
  • Last Seen:  

12 hours ago, Rexona said:

I sent a compatible version for emulators without inarray, just wait for the rA mods to release it.

Link to comment
Share on other sites


  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3128
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  08/13/18
  • Last Seen:  

I know it's too much to ask, but wouldn't it be cool to have a function to add quantities to charged items?
 

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  176
  • Reputation:   78
  • Joined:  07/11/14
  • Last Seen:  

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...