Jump to content
  • 0

request King Of Emperium Script


donkeyg

Question


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

there's a lot of type KoE script, but i want is it will be held everyday monday , friday, and sunday . and it's only gives reward to Guild master only (prize -> 50m Zeny and 1 angeling hat)

bump

i need it badly + urgent T_T

bu,p

Link to comment
Share on other sites

Recommended Posts


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

I made this script for you from scratch. This is my version of King Of Emperium Hill and I did not use the other versions as a base. You can set it to give both a zeny and item prize to the guild leader through the Emperium Assistant. They can collect once after each time the KoE ends. If there are any issues just post them here and I will fix asap. After much much much testing I made the changes described in detail below. Keep checking back for updates because I am a true perfectionist and it will only get better as time goes on!

Peopleperson49

Edit: To find the latest version check out my Script Collection at http://rathena.org/b...son49s-scripts/.

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

i will test it ! thx

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 tested with no stupid errors like leaving out a } or anything, but it does need to be refined a bit. Things that I found is that even the controlling guild can attack the emperium. I did this without thinking because I have like three cusotm WoE type scripts, but you also need to make an entry in your castle_db for it or you will get errors. I would have loved to be able to make this at home and test it, but I figured I would give it to you as it was since you said it was urgent.

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:  

nice one peoplepleperson49!!

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:  

Version 1.6 has the changes you requested to remove the WoE features and make activate/deactivate per your time. If there are anymore changes you would like to it let me know. I think it is exactly as you specified!

Peopleperson49

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

another request, can i set the time and prize by myself in game?

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 everything you asked for in the script now. You need to edit the script to setup your default amount of zeny and items, but once you do that you and adjust the amounts ingame. Everytime you reload scripts it will reset them back to the default value you specified. If you havn't modifed your game files to allow variables over 10mil then you won't be able to set it any higher than that. I hope it is what you need. Let me know if you need anything else or fine any bugs, I always strive for perfection!!!

Peopleperson49

Edit: Per request this has been modified in a later version to be controlled completely ingame.

Edited by peopleperson49
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   219
  • Joined:  11/22/11
  • Last Seen:  

I made this script for you from scratch using actual WoE controllers (which can easily be removed if you wish). This is my version of King Of Emperium Hill. I did not use the other versions as a base. It gives a prize of 50,000,000 zeny and an Angeling Hat to the ....

Good job.

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 GDI. Feel free to use it if you want to. If you need anything customized let me know, but from some of the other stuff that you have done, I don't think that will be a problem for you.

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:  

Thanks GDI. Feel free to use it if you want to. If you need anything customized let me know, but from some of the other stuff that you have done, I don't think that will be a problem for you.

Peopleperson49

the npc will re-give the reward to me once i restart the server...

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:  

Quote:
2.1 Added $KoEPrizeTracker to the OnInit however I suggest that you keep it commented out unless you want to allow prizes to be collected again everytime you reload scripts. I mainly added it for easy testing.

Comment out the $KoEPrizeTracker in the OnInit section and that won't happen anymore. I hope that answers your question.

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:  

can u make it

Quote:
2.1 Added $KoEPrizeTracker to the OnInit however I suggest that you keep it commented out unless you want to allow prizes to be collected again everytime you reload scripts. I mainly added it for easy testing.

Comment out the $KoEPrizeTracker in the OnInit section and that won't happen anymore. I hope that answers your question.

Peopleperson49

can u make it like the function of Toasty WoE Controller? like there's how many hour/minutes/seconds still remaining the event will be start

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:  

The $KoEPrizeTracker in the OnInit was removed for you a few versions ago. Just pick the latest version and you will be good. I will look into the WoE controller, never used it before. However, I did removed all the WoE controllers that I put there for you and just used simple OnClock as per your request.

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:  

The $KoEPrizeTracker in the OnInit was removed for you a few versions ago. Just pick the latest version and you will be good. I will look into the WoE controller, never used it before. However, I did removed all the WoE controllers that I put there for you and just used simple OnClock as per your request.

Peopleperson49

Thanks! hope can get ur reply asap!

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:  

The $KoEPrizeTracker in the OnInit was removed for you a few versions ago. Just pick the latest version and you will be good. I will look into the WoE controller, never used it before. However, I did removed all the WoE controllers that I put there for you and just used simple OnClock as per your request.

Peopleperson49

any news on this? xD expecting!!

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:  

Sorry I have been busy, but I will see about getting to that sometime, just not sure when at the moment. If you can get somebody else to work on that I won't mind that, just let me know.

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:  

Sorry I have been busy, but I will see about getting to that sometime, just not sure when at the moment. If you can get somebody else to work on that I won't mind that, just let me know.

Peopleperson49

hehe, im stil waiting~~ and also could u help me make it have multiply prize?

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:  

As for the timer I can do it, but I don't know when I will be able to get to coding that. Since I don't do them much I don't have the time to experment right now. However, overall you should be very pleased with my work as it is. I would suggest you get the guildmonster source mod you can purchase from the downloads section since my version of KoE can use that instead of the monster command. I added the option for you to give up to five seperate prizes. Just go to my script collection and get the latest version there.

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:  

As for the timer I can do it, but I don't know when I will be able to get to coding that. Since I don't do them much I don't have the time to experment right now. However, overall you should be very pleased with my work as it is. I would suggest you get the guildmonster source mod you can purchase from the downloads section since my version of KoE can use that instead of the monster command. I added the option for you to give up to five seperate prizes. Just go to my script collection and get the latest version there.

Peopleperson49

wheer's your script collection located at? i cant find it at script releases section ><

Link to comment
Share on other sites


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


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

Thanks for the speedly reply Emistry.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  86
  • Reputation:   1
  • Joined:  08/24/12
  • Last Seen:  

how can i start it?

theres no emperium appear in the middle map..

im sorry im noob..

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 bet you didn't change it back to use the monster command. Change the set $EmpSpawnMode,1; to set $EmpSpawnMode,0; And let me know. I recremend getting the guildmonster command. It makes the monsters that spawn not damage guild members of the spawning guild. Also if you use the guildmonster command to spawn a MVP such as detale it won't attack the guild members, but will hurt all other players not in the guild.

Peopleperson49

//= 3.0 Added the option for monster or guildmonster function using the variable
//= $EmpSpawnMode to control which mode to use.
//===== Additional Comments: =======================================================
//=
//==================================================================================
- script KingOfEmperium -1,{
OnInit:
set $EmpSpawnMode,1; //Set to 1 to use guildmonster command.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  86
  • Reputation:   1
  • Joined:  08/24/12
  • Last Seen:  

i tried changed as your instruction, but..

   parse_line: expect command, missing function name or calling undeclared func
tion
   78 :	    set $KoEStatus,1;
   79 :	    set $KoEPrizeTracker,0;
   80 :	    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 pro
ve their worth?",bc_all|bc_woe; }
   81 :	    if(getmapusers("guild_vs1")>0) { MapRespawnGuildID "guild_vs1",$
KOEGUILD,6; }
   82 :	    gvgon "guild_vs1";
*   83 :	    if($EmpSpawnMode==1) { 'g'uildmonster "guild_vs1",50,50,"EMPERIU
M",1288,1,$KOEGUILD,"KingOfEmperium::OnEmperiumBreak"; } else { monster "guild_v
s1",50,50,"EMPERIUM",1288,1,"KingOfEmperium::OnEmperiumBreak"; }

i got error.. what should i do, Peopleperson49?

Link to comment
Share on other sites


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

i think you need this..

http://rathena.org/board/topic/65341-guild-monster/page__hl__guildmonster

guildmonster() isnt an official script command for rAthena.....

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
Answer this question...

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