Jump to content

Peopleperson49's Scripts


Peopleperson49

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

erm..i just simply take a look on your Split Personality script as you requested..~

it's nice that you have dropped the idea using permanent variable to store your skill data...

here is some suggestion...for me...i found out it's quite troublesome for the code input...>.<

and for your SQL....i think you should add another checking before remove the skill data from SQL..

extra checking like..check for character id / account id ...or another.....

then...alot of part...you can refine it by make use of arrays .....especially the random part that generate the name...egone..cgone..dgone...etc...

for the part that rebirth a character ...or turn back to new novice...

you can make use of this..

resetlvl <action type>;

and...i think the existing of function named createTable() is not needed here....just simply put that sql_query line at the OnInit part...

Haha...you have encourage me to plan to make my own ~ but too bad you have used the SQL way.which i wanna use before..but dropped as i face the same problem like you...too many row is created in the MySQL...

anyway...if you like...you can try this...make use of the explode() and implode() command..

i was using that to script this npc....and..it work pretty well for me...i can save everything with just 1 variable ....LOL...very useful command...

well...all the best ~

and i like the idea for create new personality and split personality..../no1

  • Upvote 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:  

Thanks for the input! I didn't use resetlvl for two reasons. When a charcter uses resetlvl the skill trees for saved classes seem to get reset also so what is why I said that I wasn't sure if the sql was working correctly. Also I wanted them to turn back to a novice when you create a new personality so resetlvl 1; wouldn't work for me. It's basically like making a new character so you start over as a base novice. I may be able to script pretty well, but I don't know much about SQL, which is one of the reasons I wanted to make this script. I spent a while reading over SQL just to do what I already did and I'm always trying to increase my skills and abilities! I will use an array for the name, makes more sense. If you want to work together I am more than happy to do so. Expecially since weeks ago my moderator application was "still under review" I have to do something to get noticed around here, lol.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Eh, the "Split Personality" thing is a lot like my Class Mastery system... xD (though mine doesn't store skill data)

You can use a lot less variables to store data if you convert them into strings with some divider, ex.:

setd "Stats_"+getarg(0),readparam(bStr)+"|"+readparam(bAgi)+"|"+readparam(bVit)+...

Then using explode() to retrieve the data.

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:  

Thats because I used Emistry's script as a base and I yours is similar to that.

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:  

Thats because I used Emistry's script as a base and I yours is similar to that.

Peopleperson49

Great job Peopleperson49!!! but im still waiting for the function toasty WoE Controller's time

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:  

While you waiting donkeyg check out my Arch Bishop Change Quest. That is what I have been doing instead of working on the time function. Let me know what you think of that script.

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:  

While you waiting donkeyg check out my Arch Bishop Change Quest. That is what I have been doing instead of working on the time function. Let me know what you think of that script.

Peopleperson49

sure i wil try it when im home~ and by the way, i got the error with KOE script

[Error]:  Loading NPC file: npc/mynpc/koe.txt
script error on npc/mynpc/koe.txt line 80
   parse_line: expect command, missing function name or calling undeclared function
   75 :        set $KoEStatus,1;
   76 :        set $KoEPrizeTracker,0;
   77 :        if($KOEGUILD!=0) { Announce "The King of Emperium Hill has begun! The King Of Emperium Hill is the ["+GetGuildName($KOEGUILD)+"] guild.",bc_all|bc_woe; } else { Announce "King Of Emperium Hill has began! Which guild will prove their worth?",bc_all|bc_woe; }
   78 :        if(getmapusers("guild_vs1")>0) { MapRespawnGuildID "guild_vs1",$KOEGUILD,6; }
   79 :        gvgon "guild_vs1";
*   80 :        if($EmpSpawnMode==1) { 'g'uildmonster "guild_vs1",50,50,"EMPERIUM",1288,1,$KOEGUILD,"KingOfEmperium::OnEmperiumBreak"; } else { monster "guild_vs1",50,50,"EMPERIUM",1288,1,"KingOfEmperium::OnEmperiumBreak"; }
   81 :        end;
   82 :
   83 : 2OnClock2100:
   84 :        if($KoEStatus==0) { end; }
   85 :        set $KoEStatus,0;

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 added the guildmonster command to the KoE expecting that to be used instead of the monster command since it works much better for the purpose. However, since most people won't have the command and I know some can't afford to purchase it, I will make an update that makes it easy to switch between monster and guildmonster. I will use // to remove the guildmonster command. Sorry for any confusion. I wish they would just add it to the game officially! It works much better for spawning an Emperium!!!

Peopleperson49

Edited by peopleperson49
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

ah ....forget to inform you ...about ur skill saving in the split personality skill..

i think it's better for you to check the skill is permanent skill or temporary skill when you save it.

it can be messed up if you didnt check this.

for example..

a acolyte didnt have Teleport Skill yet, but he wearing a Creamy Card ..so now he got the teleport skill..

and then he split into a new class...removed the creamy card from equipment.....and switch back to Acolyte class that he saved before..

amazingly...he now got the Teleport Skill....

use this to check..

@skilllist_flag[] - see 'skill' for the meaning of skill flags.

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:  

Nice suggestion Emistry. I never thought about that. I really havn't tested that script very much and I need the bugs worked out. I think it has very good promise and the base scripting is very good, lol.

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:  

I added the guildmonster command to the KoE expecting that to be used instead of the monster command since it works much better for the purpose. However, since most people won't have the command and I know some can't afford to purchase it, I will make an update that makes it easy to switch between monster and guildmonster. I will use // to remove the guildmonster command. Sorry for any confusion. I wish they would just add it to the game officially! It works much better for spawning an Emperium!!!

Peopleperson49

haha okay!! after u fix it just announce here ok..

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:  

Lol, I had already fixed it when I posted that message.

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:  

s

Lol, I had already fixed it when I posted that message.

Peopleperson49

when u press Cancel at the WoE Rewards, it would stucked

Edited by donkeyg
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:  

When I took out all the guildmonster stuff I put an extra next in there. Should be good now. Sorry.

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:  

When I took out all the guildmonster stuff I put an extra next in there. Should be good now. Sorry.

Peopleperson49

ok! ^^ im stil waiting for the Toasty WoE Time function

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:  

In the last week I have been super busy and getting on the computer wasn't part of it. So far I changed the oil in the car, sold boys scout popcorn, built a chicken coup, went shooting with my kids (including sighting the rifle), and much more...

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

guys u can implement in party vs party?can i see what should to change guild to party???

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:  

You want the KoE to be PvP instead of GvG? Just change all gvgon to pvpon and all gvgoff to pvpoff.

Peopleperson49

  • Upvote 1
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:  

You want the KoE to be PvP instead of GvG? Just change all gvgon to pvpon and all gvgoff to pvpoff.

Peopleperson49

KoE is notworking lol, even i didnt get the KoE castle, but after finish the event, i still can go in to take the reward

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 just tested it and it worked fine. You have to set KoE times ingame for it to work. If you get an error please post, but I'm not getting one. What version are you using?

Peopleperson49

guys u can implement in party vs party?can i see what should to change guild to party???

I modified version 4.2 for you which allows you to select between PvP or GvG.

Peopleperson49

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  112
  • Topics Per Day:  0.03
  • Content Count:  388
  • Reputation:   4
  • Joined:  05/01/12
  • Last Seen:  

i use r16328?? it's work?

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 should work fine just use my version 4.2 which allows you to select whether you want pvp or gvg. You have to manually set the zeny prize, item prizes, and event times ingame using the NPC. I spent about 2 hours trying to break it last night and it worked fine everytime for me.

Peopleperson49

Link to comment
Share on other sites

  • 3 weeks later...

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

It should work fine just use my version 4.2 which allows you to select whether you want pvp or gvg. You have to manually set the zeny prize, item prizes, and event times ingame using the NPC. I spent about 2 hours trying to break it last night and it worked fine everytime for me.

Peopleperson49

hello . can u make it like toasty's woe controller time function please?^^

and have u test the script yet?? it wouldn't start lol even i set it at the right time

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:  

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.

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