Jump to content

Alayne's Scripts Collection


Alayne

Recommended Posts


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

On 31/12/2017 at 2:42 PM, sprdosat said:

Report: Func Unknown. Script AstralTemple. rAthena Emulator: Current Version.

Maybe this function is missing from the emulator and not in the scripts.

Obs: I'm using Google translator.

Astral Func unknow.png

@sprdosat, if you're still having this issue, and if I'm not mistaken, if it's when you load the file, it might be cause you're missing instance_db update. Or something like that, cause the file itself does not include source edit...

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.08
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

@Alayne can you tell me whats the problem on astral temple?

 

after i finish the first floor and enter the portal to go inside of 2nd floor i dont see any monsters on it

also crystals cant attack and no portal

 

i got this error also

image.png.2aead49ae94081749c24f8d36670e226.png

image.png.ca133fc61af515df15daadeba00bb033.png

thank you for help

Edited by Quesooo
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

Well the errors is speaking by itself. You're lacking the AddPoints function (which is provided in Utilities/MainFunctions.txt). Therefor, the rest of the script doesn't load. There might be other errors thought, but this is the starting point to check.

 

For the crystals, you're not supposed to kill them, just to activate them by touching it

Edited by Alayne
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.08
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

On 2/14/2018 at 6:48 PM, Alayne said:

Well the errors is speaking by itself. You're lacking the AddPoints function (which is provided in Utilities/MainFunctions.txt). Therefor, the rest of the script doesn't load. There might be other errors thought, but this is the starting point to check.

 

For the crystals, you're not supposed to kill them, just to activate them by touching it

yeah i figure out i need the add point function

but this error is for?

image.png.ca133fc61af515df15daadeba00bb033.png

i got this thing also on boss nest

image.png.57500dc11fafa184ae282c04bd1902aa.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  75
  • Reputation:   5
  • Joined:  08/28/13
  • Last Seen:  

Solved @Alayne. The problem was right in the instance_db. Thanks

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

@Quesooo Wow never had this error. Don't even know this model actually...Are you sure that's when entering boss nest?

For the item unknown, did you set reward mode to 1 or 0? The only item given on mode 0 are the zodiac hats, maybe you're lacking those ids?

@sprdosat, great ^^

Edited by Alayne
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  75
  • Reputation:   5
  • Joined:  08/28/13
  • Last Seen:  

Where to configure this mode to not receive this error?

No exist.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.08
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

1 hour ago, Alayne said:

@Quesooo Wow never had this error. Don't even know this model actually...Are you sure that's when entering boss nest?

For the item unknown, did you set reward mode to 1 or 0? The only item given on mode 0 are the zodiac hats, maybe you're lacking those ids?

@sprdosat, great ^^

yeah after i enter the boss nest i got this error

 

hmmm im looking for all rewards but when i use @ii all items already available

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

@Quesooo as said, the only line with getitem is getitem .@item_list[.@item],.@item_list[.@item+1]; on floor_reward method. So the only issue possible is due to the .@item_list arrays. If you don't find the right item, comment the getitem line. Maybe it's another script interracting with this one (although I don't think so)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

@Alayne Hi is there another version for https://github.com/Nyliar/RagnarokContent/blob/master/Utilities/viprequest.txt ? it seems that this part is not available for rathena.

	sellitem Red_Potion;
	sellitem Orange_Potion;
	sellitem Yellow_Potion;

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.08
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

On 2/14/2018 at 10:41 PM, Alayne said:

@Quesooo as said, the only line with getitem is getitem .@item_list[.@item],.@item_list[.@item+1]; on floor_reward method. So the only issue possible is due to the .@item_list arrays. If you don't find the right item, comment the getitem line. Maybe it's another script interracting with this one (although I don't think so)

getitem .@item_list[.@item],.@item_list[.@item+1];
				callfunc ("AddPoints", getcharid(3), .@reward * $at_level );
				dispbottom "[ Astral Temple ] : You have gained instance points for defeating "+'at_instance_floor_name$+".";
				logmes "[AstralTemple] " + strcharinfo(0) + " complete the instance and obtains " + (.@reward * $at_level) + " points.";

 

 

On 2/14/2018 at 10:41 PM, Alayne said:

@Quesooo as said, the only line with getitem is getitem .@item_list[.@item],.@item_list[.@item+1]; on floor_reward method. So the only issue possible is due to the .@item_list arrays. If you don't find the right item, comment the getitem line. Maybe it's another script interracting with this one (although I don't think so)

is it related to this?

function	script	AddPoints	{
	set .@accountID, getarg(0);
	set .@amount, getarg(1);
 
	//set #ACHIEVEPOINTS, #ACHIEVEPOINTS + .@amount;
	getitem $shardIds[0], .@amount;
  	message rid2name(.@accountID), "You just won " + .@amount + " Shard" + (.@amount > 1 ? "s" : "") + " !";

	return;
}

because i just use this script and i dont do any edit

 

if i want to be the shard will be a gold coin or instance coin what it should be?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

Ahhhh yes that's it.

That's cause the $shardIds value isn't defined anywhere. For me, it's my currency.

Let's say you want gold to be the currency, change getitem $shardIds[0], .@amount; by getitem 969, .@amount; or whatever you want the currency to be.

If you don't want to use item as currency, symply comment the getitem line, and uncommande the points one to use any kind of point you have on your server.

 

@Radian nope sorry, forgot about this file, it's only for herc use right now. I'll rewrite it for rathena, but it can't be easily right now as there's several missing functions.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.08
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

8 minutes ago, Alayne said:

Ahhhh yes that's it.

That's cause the $shardIds value isn't defined anywhere. For me, it's my currency.

Let's say you want gold to be the currency, change getitem $shardIds[0], .@amount; by getitem 969, .@amount; or whatever you want the currency to be.

If you don't want to use item as currency, symply comment the getitem line, and uncommande the points one to use any kind of point you have on your server.

thx got it

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  75
  • Reputation:   5
  • Joined:  08/28/13
  • Last Seen:  

@Alayne When I was doing the instance, this error appeared.

rror.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.08
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

@Alayne i appreciate all help and fixes you said before everything was working perfectly now

 

btw for my last problem any solution for this?

image.png.57500dc11fafa184ae282c04bd1902aa.png

 

and how does fae quest working?

 

@Alayne last thing my server crash for mansion maker instance i think i need this map 1@mm can you please upload it thank you

 

thats all thanks for support

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

@Quesooo as said I don't know this model...So I can't provide it to you ? I'll look if I can find it somewhere in my grf. For the Fae Quest, each npc leads to the next one. Start with Holen, right under the warp on south prontera. No mistake there, just follow the clue to get further ^^. For the 1@mm map, as said, I personally use que_qaru05, sorry I forgot to change it in the instance_db. If you want to use 1@mm, add it in resnametable as a copy of que_qaru05, and change all instances of que_qaru05 in maker mansion file. Otherwise, just change 1@mm to que_qaru05 in instance_db file.

 

On 2/15/2018 at 8:51 AM, sprdosat said:

@Alayne When I was doing the instance, this error appeared.

Strange...Star are supposed to stop at 61, not 62...All other floors worked without error? I've added a check to prevent this from happening, allthought I still dun understand how it's supposed to happen. Tell me if there's still the issue.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.08
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

3 hours ago, Alayne said:

@Quesooo as said I don't know this model...So I can't provide it to you :/ I'll look if I can find it somewhere in my grf. For the Fae Quest, each npc leads to the next one. Start with Holen, right under the warp on south prontera. No mistake there, just follow the clue to get further ^^. For the 1@mm map, as said, I personally use que_qaru05, sorry I forgot to change it in the instance_db. If you want to use 1@mm, add it in resnametable as a copy of que_qaru05, and change all instances of que_qaru05 in maker mansion file. Otherwise, just change 1@mm to que_qaru05 in instance_db file.

yeah i do this method

from > 43,Maker Mansion,7200,300,1@mm,346,26 i change it to

43,Maker Mansion,7200,300,que_qaru05,346,26

 

but when i enter the instance still my server crash or should i do something on the script also?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  75
  • Reputation:   5
  • Joined:  08/28/13
  • Last Seen:  

At this level onwards the error happens every time I kill a boss.

Error 1.png

Error 2.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

Hum gonna run it a whole time to check that. You took the last version from my github?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  75
  • Reputation:   5
  • Joined:  08/28/13
  • Last Seen:  

1 hour ago, Alayne said:

Hum gonna run it a whole time to check that. You took the last version from my github?

No. ^^

The latest version causes this error.

 

ddddddd.png

Edited by sprdosat
Add
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

My bad, brought that error this morning as I can't test what I'm writting right now. You can get it, it'll be fixed (for this point at least)

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.08
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

@Alayne am i right for my instance db?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  75
  • Reputation:   5
  • Joined:  08/28/13
  • Last Seen:  

There's only one more mistake when we kill the Thanatos. ^^

sqwqw.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

Yep you are

 

Just released a bunch of new scripts. Allthought, those scripts were initially developped for hercules, and may contains issue. Feel free to report / fix them directly on github!

Release contains:

  • System/Crafting - Allow players to register to a guild, which can craft some specific items (pastry, magic scrolls, tailoring...)
  • System/DungeonHall - Advanced Guild Housing. Allow guilds to buy a town and use them as base. They'll then have to manage food stocks (which will change the food available in restaurant, bar...), dungeon (one per town) and it's content (by catching mobs and poping it on the dungeon), access to fields...
  • System/Fisherman - Fishing system
  • System/Miner - Mining system
  • System/Mercenary - Allow players to register as mercenaries, and then be hired by other players (through a contract) to fullfill a specific task
  • System/Prime Hunter - Allow players to put a reward on someone's head, and Prime hunters (registered players) to hunt those target for the reward
  • System/Steel Soul - Allow players to bind their soul to a given weapon, evolving through mob killing, and possibly able to gain bonuses (through random option)

Feel free to report any issues, and i'll try to fix it as soon as possible

  • Upvote 3
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

@Alayne for the prime Hunter, this function is missing OnRegisterJob

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...