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:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

i think there is still a bug in the script.. even though i use the patch.. i can still break the emperium even im the owner.. try it like this.. break the emp when koe is running then stop the koe.. start it again then you can break the emp again..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

I cannot reproduce your error

post-8685-0-64630500-1350200466_thumb.jpg

the name in red, I can't kill it

try do some debugging instead

    if ( s_bl->type == BL_PC && t_bl->type == BL_MOB ) {
       char debug[255];
       struct map_session_data *sd = BL_CAST(BL_PC, s_bl);
       sprintf ( debug, "[Debug] mob ID: %d | map name: %s | guild ID: %d | $KOEGUILD: %d", ((TBL_MOB*)target)->class_, mapindex_id2name(sd->mapindex), sd->status.guild_id, mapreg_readreg( add_str("$KOEGUILD") ) );
       clif_displaymessage( sd->fd, debug );
       if ( ( ((TBL_MOB*)target)->class_ == 1288 && !strcmp( mapindex_id2name(sd->mapindex), "guild_vs1" ) ) &&
           ( sd->status.guild_id == mapreg_readreg( add_str("$KOEGUILD") ) || battle_getcurrentskill(src) > 0 ) ) {
               clif_displaymessage( sd->fd, "cannot hit emperium" );
               return 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:  

After much testing I got the same results as before. Without the patch it still won't let you attack it if you not in a guild, but it does let you hit it even if you own it. With the patch I have no issues. Thanks for the support Annie.

Peopleperson49

Edited by peopleperson49
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  32
  • Reputation:   1
  • Joined:  12/01/11
  • Last Seen:  

@peopleperson49 can you help me on that or any one please

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  68
  • Topics Per Day:  0.02
  • Content Count:  436
  • Reputation:   31
  • Joined:  02/19/12
  • Last Seen:  

@AnnieRuru @peopleperson49

thanks already fix.. i got one last question.. how can i get the rewards after the koe ends? i cant manage to get it bcoz when the koe ends its warping my player out the guild_vs1 map..

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:  

argh.......... im confusing... what should i do so i can get a perfect KoE script??=.="

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:  

Sure sdesign what did you need help with?

Donkeyg I would hope that I have the best KoE script in e/rAthena! It works fine, but without the patch you can hit the emperium even if you own the guild (which every script is like that without the patch).

RazorX I can modify it to not warp out the controlling guild if that will help, as for now you just have to go back in to it. I made it remove everybody because it won't stop telling your client the map is in GvG mode unless you actually leave the map. For now I suggest you make the simple change yourself. To collect rewards you just go to "Return to Non-GM Menu" if your a GM or just talk to the NPC if you are the guildmaster of the controlling guild.

Peopleperson49

Use the script_commands.txt to your advantage:

*maprespawnguildid "<map name>",<guild id>,<flag>;
This command goes through the specified map and for each player and monster
found there does stuff.
Flag is a bit-mask (add up numbers to get effects you want)
1 - warp all guild members to their save points.
2 - warp all non-guild members to their save points.
4 - remove all monsters which are not guardian or Emperium.
Flag 7 will, therefore, mean 'wipe all mobs but guardians and the Emperium and
kick all characters out', which is what the official scripts do upon castle
surrender. Upon start of WoE, the scripts do 2 (warp all intruders out).
Characters not belonging to any guild will warp out regardless of the flag setting.
For examples, check the WoE scripts in the distribution.

Find this below and change it using what I posted above:

if(getmapusers("guild_vs1")>0) { MapRespawnGuildID "guild_vs1",$KOEGUILD,7; }

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:  

what patch?

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:  

Sup donkeyg go up to post #49 and download and patch the file koe_patch_ppl49.patch. I hope that helps.

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:  

Sup donkeyg go up to post #49 and download and patch the file koe_patch_ppl49.patch. I hope that helps.

Peopleperson49

did u have update it at here?

http://rathena.org/board/topic/70567-peopleperson49s-scripts/

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 latest version of my KoE is there in my script collection and I put the KoE patch that AnnieRuru provided there also so it could be downloaded together.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   7
  • Joined:  01/06/12
  • Last Seen:  

I'll just ask if you own the emp you cant attack it? or its still attackable by the owner?

Edited by Thanna
Link to comment
Share on other sites


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

I'll just ask if you own the emp you cant attack it? or its still attackable by the owner?

spend your time and read those previous post...dont skip it... /swt

post#49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   4
  • Joined:  05/23/12
  • Last Seen:  

Hi, why does the guild emblem of the current guild who captured the koe emp. doesnt show up in the flag?

Pls help. thanks.

PS: Sorry for bad english.

Oh, fixed it hehe.

i replaced the flag script to this

- script KoEFlag 723,-1,-1,{
set .@gid, $KOEGUILD;
if ( .@gid == 0 ) end;
mes "[Emperium Hill]";
mes " ";
if($KOEGUILD!=0) { mes "The King Of Emperium Hill is the ["+GetGuildName
($KOEGUILD)+"] guild."; } else { mes "Only the strongest warriors should may
over take Emperium Hill!"; }
close;
OnRevKoE:
flagemblem $KOEGUILD;
end;
OnInit:
flagemblem $KOEGUILD;
end;
}

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, why does the guild emblem of the current guild who captured the koe emp. doesnt show up in the flag?

Pls help. thanks.

PS: Sorry for bad english.

Oh, fixed it hehe.

i replaced the flag script to this

- script KoEFlag 723,-1,-1,{
set .@gid, $KOEGUILD;
if ( .@gid == 0 ) end;
mes "[Emperium Hill]";
mes " ";
if($KOEGUILD!=0) { mes "The King Of Emperium Hill is the ["+GetGuildName
($KOEGUILD)+"] guild."; } else { mes "Only the strongest warriors should may
over take Emperium Hill!"; }
close;
OnRevKoE:
flagemblem $KOEGUILD;
end;
OnInit:
flagemblem $KOEGUILD;
end;
}

hi, may i know the KoE script works fine?

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:  

If you go to my script collection you will see version 4.7. It has the working emblems one the flags. Thanks for the push donkeyg. Also thanks to xilence01 for writing a version of the flag script. I didn't use your version, but I really like to see when people do work on there own!!!

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  99
  • Reputation:   4
  • Joined:  10/25/12
  • Last Seen:  

Your KoE script suitable for castle mod?

I did change the map to gefg_cas01 and i think its working but the problem is, I dont know how to make the mapflag show guild emblem.

As I change the KoE map to gefg_cas01 is that mean the original castle name of gefg_cas01 also changed?

Bump

Edited by scenenarykeem
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  10/11/12
  • Last Seen:  

nice!

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

If you go to my script collection you will see version 4.7. It has the working emblems one the flags. Thanks for the push donkeyg. Also thanks to xilence01 for writing a version of the flag script. I didn't use your version, but I really like to see when people do work on there own!!!

Peopleperson49

hello peopleperson49, after i reloaded or restart the server, then i go talk to the Guild Rewarder , even the KoE didnt start also can get the Prize.. what happened?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  10/11/12
  • Last Seen:  

Help on overweight. The guild master was overweight and when he talked to the Emperium Assistant, nothing happend. He emptied his inventory, went back, then the npc said to him that he can't reap rewards again

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:  

True221 I can see how that might happen. If a character is overweight they items drop directly on the ground and then disappear like normal. I will make a check to determine if the character is overweight soon. However please use my Script Colleciton to post for support of this and other scripts of mine. Thanks.

Donkeyg you have to break the emperium again after updating and it should work just fine. Please use my Script Colleciton to post for support of this and other scripts of mine. Thanks.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  01/03/13
  • Last Seen:  

Will this work on eAthena servers?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  01/03/13
  • Last Seen:  

Bump!

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 would say give it a try and see. I only provide support for rA since that is the only version that I use and therefore can't test anything else.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  01/11/13
  • Last Seen:  

Posted · Hidden by Emistry, January 12, 2013 - any one online ? hmm ? not related to topic.....
Hidden by Emistry, January 12, 2013 - any one online ? hmm ? not related to topic.....

any one online here?

Link to comment

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