Jump to content

Peopleperson49's Scripts


Peopleperson49

Recommended Posts


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  390
  • Reputation:   27
  • Joined:  07/12/12
  • Last Seen:  

My problems with the toasty function is that I don't use that script so I really don't know how it works. As for the script I use it and it works fine. Make sure you set it up in game correctly and that you always use the latest version. Thanks.

hey man,i see allot of your great work :)

may i ask if the split personality is done and working good now?

no more issues with the SQL??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

The split personality is finished and works as it says, but I didn't not elimiate all the SQL saving issues. As stated use at your own risk. The problem is that when you use SQL tables it tends to save them over and over again which over time builds up and can lag your server. I think I still need to refine it using explode and implode commands for it to be better off. I never want to give anybody something that will harm there server. Also if you allow resetting skills on your server than I don't suggest using this script. Thank you for making me realize that I need to update my discription to be more clear.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  341
  • Reputation:   43
  • Joined:  01/10/12
  • Last Seen:  

Suggestions for Security Manager:

Remove #PWCheck and replace the if checks with

if(#AccountPW$=="") { mes "You do not currently have a password set."; close; }

Reset:

set #AccountPW$,"";

And, these are not needed, except for the zeny part:

mes ""+zeny+"z onhand.";
mes ""+#assistantbankbalance+"z in bank account.";
mes ""+trustfundbalance+"z in trustfund.";
mes ""+SmokieMobKill+" smokie points.";

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Thanks Joseph I posted that for somebody who PMed me for this request. That is part of a larger script of mine and I forgot to take out that section. I will modify it to work for others.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.03
  • Content Count:  569
  • Reputation:   11
  • Joined:  11/24/11
  • Last Seen:  

Your security manager is not working for eA. Help me to work with eA. Thank you!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

@^WillSuranol, you can definitely work on your own and change those script command which eA doesn't have. How would you expect People49person has eA resp to work on too (Even if he have, is not hard for you to change few keywords) :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

I don't think you could have said that any better darristan! WillSuranol what error messages are you getting exactly? What version of eAthena you use? Just saying it doesn't work is a very open ended statement! Also do you know how to use OnGlobalWhisper properly?

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  341
  • Reputation:   43
  • Joined:  01/10/12
  • Last Seen:  

Thanks Joseph I posted that for somebody who PMed me for this request. That is part of a larger script of mine and I forgot to take out that section. I will modify it to work for others.

Peopleperson49

You did not change all the #PWCheck to #AccountPW$.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Yea I fixed that earlier after looking over the script again. Thanks for pointing that out, I made the change on the fly before I had to leave. I know better than to rush.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  390
  • Reputation:   27
  • Joined:  07/12/12
  • Last Seen:  

here's the post you told me about the GM HQ.

i would like the following changes:

1. Change "[Microhard security 1.0] into [MicRO-bust Security 1.0]

2. Change the items sold into:

  • Doppelganger Card // price: 30,000,000
  • Kiel Card // price: 600,000,000
  • belzeebub Card // price: 100,000,000
  • Thanatos Card // price: 800,000,000
  • Batlle Badge // price 10,000,000
  • 1 level up // price 70,000,000

3. Change GM rascals name into: GM's Servant.

4. i want the secret code to be editable by me.

Edited by stydianx
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

That stuff is all easily changed by you when you look through the script and use doc/script_commands.txt. To change the name just use copy and paste to copy my [Microhard security 1.0] and replace it with your [MicRO-bust Security 1.0]. Also most servers won't allow you to change zeny amounts more than 10mil at a time. Those changes are really easy so I will help you make them. The hardest thing for you might be the base level up since you have to check if the player is at max level or will take there zeny and not do anything.

Peopleperson49

This uses my custom items which you need to change.

case 3: callsub GMHQ_Func,28273,7296,1; break; //Orange Potion Case

28273 is the item you wish to sell.
7296 is the amount of zeny you want to sell it for.
1 is the quanity you wish to give them each purchase.

Edited by Peopleperson49
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  390
  • Reputation:   27
  • Joined:  07/12/12
  • Last Seen:  

thanks man! now i know and get started with it :) you rock man!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Glad I could help you out. Let me know if you need anymore assistance!

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  390
  • Reputation:   27
  • Joined:  07/12/12
  • Last Seen:  

Glad I could help you out. Let me know if you need anymore assistance!

Peopleperson49

dude, theres a problem, i have customized the items, but still, the items sold by GM rascal is the same..

i think it has something to do with this:

switch(prompt("100x Refining Concentrate - 300z:Red Potion Case - 1,824z:Orange Potion Case - 7,296z:Yellow Potion Case - 20,064z:White Potion Case - 43,776z")) {

here is my edited script according to your teachings:


case 1: callsub GMHQ_Func,4145,100000000,1; break; // Berzebub Card
case 2: callsub GMHQ_Func,4142,50000000,1; break; //Doppelganger Card
case 3: callsub GMHQ_Func,2524,100000000,1; break; //Valkyrian Manteau
case 4: callsub GMHQ_Func,2357,200000000,1; break; //Valkyrian Armor
case 5: callsub GMHQ_Func,2137,150000000,1; break; //Neo Valkyra Shield
case 6: callsub GMHQ_Func,2421,100000000,1; break; //Valkyrian Shoes
case 7: callsub GMHQ_Func,2115,100000000,1; break; //Valkyrian Shield
case 8: callsub GMHQ_Func,5826,100000000,1; break; //Valkyrian Helmet

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Got to the script_commands.txt and look up the prompt command.

*select("<option>"{,"<option>",...})
*prompt("<option>"{,"<option>",...})
This function is a handy replacement for 'menu' for some specific cases where
you don't want a complex label structure - like, for example, asking simple yes-
no questions. It will return the number of menu option picked, starting with 1.
Like 'menu', it will also set the variable @menu to contain the option the user
picked.
if (select("Yes:No")==1) mes "You said yes, I know.";
And like 'menu', the selected option is consistent with grouped options
and empty options.
prompt works almost the same as select, except that when a character clicks
the Cancel button, this function will return 255 instead.

Now take this from my script and break it down:

switch(prompt("100x Refining Concentrate - 300z:Red Potion Case - 1,824z:Orange Potion Case - 7,296z:Yellow Potion Case - 20,064z:White Potion Case - 43,776z")) {
case 1: callsub GMHQ_Func,28378,300,100; break; //100x Refining Concentrate
case 2: callsub GMHQ_Func,28272,1824,1; break; //Red Potion Case
case 3: callsub GMHQ_Func,28273,7296,1; break; //Orange Potion Case
case 4: callsub GMHQ_Func,28274,20064,1; break; //Yellow Potion Case
case 5: callsub GMHQ_Func,28275,43776,1; break; //White Potion Case
case 255:
mes "[GM Trevor]";
mes "Please come again!";
close;
}

If you look at it you see my 100x Refining Concentrate - 300z. Notice its seperated by a : from the Red Potion Case - 1,824z. Each entry is another case below it. Therefore the 100x Refining Concentrate - 300z is case 1, etc... The case 255 is set by using the prompt command instead of select. If you use prompt and click the Cancel it executes whatever is in case 255. As a work to the wise never use a next; in the case 255 section!

I will start it for you and you can finish it with what you learned:

switch(prompt("Berzebub Card - 100,000,000z:"Doppelganger Card - 50,000,000z:Finish the other stuff here)) {
case 1: callsub GMHQ_Func,4145,100000000,1; break; // Berzebub Card
case 2: callsub GMHQ_Func,4142,50000000,1; break; //Doppelganger Card
case 3: callsub GMHQ_Func,2524,100000000,1; break; //Valkyrian Manteau
case 4: callsub GMHQ_Func,2357,200000000,1; break; //Valkyrian Armor
case 5: callsub GMHQ_Func,2137,150000000,1; break; //Neo Valkyra Shield
case 6: callsub GMHQ_Func,2421,100000000,1; break; //Valkyrian Shoes
case 7: callsub GMHQ_Func,2115,100000000,1; break; //Valkyrian Shield
case 8: callsub GMHQ_Func,5826,100000000,1; break; //Valkyrian Helmet
case 255:
mes "[GM Trevor]";
mes "Please come again!";
close;
}

I hope you learn something from this gibberish, then again ragnarok online is all about gibberish, lol.

Peopleperson49

Edited by Peopleperson49
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

hi peopleperson49, do u have monster hunter youtube video? it looks fun ^^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  132
  • Reputation:   2
  • Joined:  02/02/12
  • Last Seen:  

Well, I tried using the monster hunt script, and even though all my party membes are online and in the same party, when I click on register it says: '' all party members must be online " and puff, nothing happens then.

set .MHPartyLimit,1; //Set the required party size to compete.

if i'm not mistaken, this means a party of minimum 2 people right?

If so, it's not working.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

I don't have the slightest clue how to make a youtube video. Just close your eyes and picture a little map where a lot of db monsters spawn... Then picture you killing them and a sniper Cescil appears and kills you in less than a second...

Cephaler I just tested with 3 people and it worked fine for me. I need more info into what you problems is. When it says all party members must be online it should tell you who is not online.

Peopleperson49

I need to reword this to say something to the effect of you don't have enough members of your party to register.

if(.@MHOnlineCount<.MHPartyLimit) { mes "[Neilay]"; mes "All members of the party must be online to register!"; close; }

Edited by Peopleperson49
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  132
  • Reputation:   2
  • Joined:  02/02/12
  • Last Seen:  

I don't have the slightest clue how to make a youtube video. Just close your eyes and picture a little map where a lot of db monsters spawn... Then picture you killing them and a sniper Cescil appears and kills you in less than a second...

Cephaler I just tested with 3 people and it worked fine for me. I need more info into what you problems is. When it says all party members must be online it should tell you who is not online.

Peopleperson49

I need to reword this to say something to the effect of you don't have enough members of your party to register.

if(.@MHOnlineCount<.MHPartyLimit) { mes "[Neilay]"; mes "All members of the party must be online to register!"; close; }

That's the thing: It doesn't show any error, however it doesn't tell me who's not online. If I change the number to 0 ( basically no party required ) it works fine, but the minute I change it to anything else, then it won't warp me in as it says the party members must be online and closes the chat window ;-(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Try version 2.2. I have been working on it during my lunch at work, but it has NOT been tested. I planned on testing it when I got home today and then posting it if it was good. Again it is NOT tested, but let me know if it works for you. I will put it here for you to download, but I'm not going to post it in my script collection until it's tested.

Peopleperson49

Edited by Peopleperson49
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

I think I found the error, it's on 'isloggedin' command.

In current script, Peopleperson use that command, but the account ID array is empty, because the getpartymember command only retrieve char ID.

//...
getpartymember getcharid(1),1;
getpartymember getcharid(1),2;
set @partymembercount,$@partymembercount;
for(set .@i,0; .@i<@partymembercount; set .@i,.@i+1) {
//...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Nana is looking at my old script or the temperory one I placed in post #45?

Peopleperson49

Edit: I moved it to the first post.

Edited by Peopleperson49
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Sorry, the old one :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

It still does it anyway. I will fix asap. For now just set to 0.

Peopleperson49

Edit: The Monster Hunter is fixed, atleast I think so, lol. Let me know if you any any issues.

Edited by Peopleperson49
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  10/13/12
  • Last Seen:  

I already tested out the monster hunt script that you've created as my request. I noticed that it doesn't announce every hour that there's a monster hunt event. Then rules says "Parties consist of atleast 1 players" it should be 10 players per party.

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