Jump to content
  • 0

PvP with Prize


Yoona

Question


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

Well..

 

I bet someone has this kind of script out there!

 

but here i am, requesting it. so.. can I request this kind of script?

 

 

1. PvP Points on Specific Maps only.

2. Every time someone got the Godlike tittle on PvP ( on the specific Map ) Size of the player will be Bigger with a Berzerk effect on him/her.

3. If someone reach the Godlike tittle it will receive 1 PK Points every 1 Minute ( must be on the specific map only ) outside will be disable.

4. When Nobody Kills the Godlike Player for 1 hour. Player will be automatically teleported outside the PvP map.

5. Player without Tittle killed the Godlike Player. automatically gives the Berzerk Effect but not the size. till he reach the Godlike tittle.

6. Thanks! and credits will be name on you <3

Link to comment
Share on other sites

14 answers to this question

Recommended Posts


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

I just started the script, then I suddenly stumble upon 1 question

Question : what happens if there is more than 1 Godlike player in that map ?
because it seems possible if 2 players who are friends,
they team up keep killing other players on that map
then both of them might acquire the Godlike title together
Question : what happens if a Godlike player kills another Godlike player ?


I can probably do your 1-5 easily
however, I don't think I can do no.6,

sounds very hard for me to do /wah

 

 

dump this script, as this has bugs

-    script    kjdhfsksjf    -1,{
OnInit:
    .map$ = "guild_vs2"; // map
    .godlike = 3; // needs how many kills to gain godlike title
    .pk_point = 1; // earn how many pk point
    .pk_delay = 1; // how many seconds to earn x pk_point
    .pk_out = 20; // loops how many times of .pk_delay to kick the player from the map ? 60*60 = 1 hour

    setmapflag .map$, mf_pvp;
    setmapflag .map$, mf_nosave;
    end;
OnPCKillEvent:
    if ( strcharinfo(3) != .map$ ) end;
    if ( killedrid == getcharid(3) ) end; // suicide doesn't count
    @godlike_point++;
    if ( .current_godlike == getcharid(3) ) end; // TODO
    if ( @godlike_point < .godlike ) end;
    .current_godlike = getcharid(3);
    announce strcharinfo(0) +" is now godlike", bc_map;
    while ( strcharinfo(3) == .map$ ) {
        pk_point += .pk_point; // variable name here
        dispbottom "[Debug] points = "+ pk_point;
        .@pk_out++;
        if ( .@pk_out == .pk_out ) {
            warp "Save", 0,0;
            end;
        }
        sleep2 .pk_delay * 1000;
    }
    end;
OnPCLogoutEvent:
    if ( .current_godlike == getcharid(3) )
        .current_godlike = 0;
    end;
}
I go solve other topics and come back after the above question has been answered

Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

2 Godlike Player will do the same thing. Annie :)

 

 

/no1 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Lol, this sounds alot like my juggernaught event script I wrote, with the exception of it being an event, thus making it tremendously easier, since you won't have to keep track of each player in the event, instead just 2-3 variables containing who is a Beserked Godlike, Berserked (not-godlike) and lastly how long has each been as such.

 

Edit: oops, seems i'm REAALLY late on this one lol, Annie has already taken it up =P

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

GmOcean come do this then ?

I drop this

.... because I dunno how to do no.6, but I think you can do it

I forgotten you still active lol

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

*swt* and here i thought I could retire T.T; lol... no.6 xD

Well, gonna have to do it tomorrow after work I guess. Who ever feels up to the task please go right ahead and do it to help this person out. Annie has done about 90% of the script, just refer to that when you go to make your version (should you choose to try) it should prove to be most helpful for those wondering how to start this.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

@Annieruru i already tested it. and its working find but something is missing the Size effect and Berzerk effect. also the variable that on it is pk_point? or should i change this line into?

pk_point += #PKPOINTS; // variable name here

like this?

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

try this

[paste=5b3j7lt8kjpq]

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

@Anniruru 1 last question annie how can i change the variable for the pk points? i want to use #PKPOINTS like this. ?

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:  

line 38

pk_point += .pk_point; // variable name here

change into

#PKPOINTS += .pk_point; // variable name here

EDIT: I dunno how to do no.6 .... sry ... /sry

Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

line 38

pk_point += .pk_point; // variable name here

change into

#PKPOINTS += .pk_point; // variable name here

EDIT: I dunno how to do no.6 .... sry ... /sry

 

Hahaha. thanks Annieruru :) well about the number 6 i already did it :) credits to you <3 and 1 thing Annie about the Berzerk status? is it possible that only the effect not the whole skill effect? sorry ^_^

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:  

possible but require source modification

http://www.eathena.ws/board/index.php?showtopic=173259

berserk special effect is a permanent type aura

 

however if you can think of using a temporary special effect, I can loop it with a timer

just like I did in my previous battleground script, the leader blink in blue or red

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

possible but require source modification

http://www.eathena.ws/board/index.php?showtopic=173259

berserk special effect is a permanent type aura

 

however if you can think of using a temporary special effect, I can loop it with a timer

just like I did in my previous battleground script, the leader blink in blue or red

 

well i dont have a choice but to remove it :( or how do i change it into something nice?

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:  

try this

[paste=33s2sh0mfpy2]

btw why your font size increased ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

@AnnieRuru lol thank you, i got a question annie why is that when the A Player Godlike then killed by D Player the size don't change.

 

forgot because of no time :)

Edited by Yoona
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...