Jump to content
  • 0

fix script functions


icabit

Question


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

INTRODUCTION


so this is ghost's pvp system(http://rathena.org/b...pvp-system-v13/) + mercurial(http://www.eathena.w...pe=post&id=8461)

i merged them to fix some functions

What does this npc do?

-basically a PvP ladder

-Gives the player the option to change his/her announcer in game when killing players biggrin.png

-announcers Dota Announcer Pack, HoN Default Announcer Pack, HoN Ms.Pudding Announcer Pack, HoN Flamboyant Announcer Pack, HoN Ball Of Steel Announcer Pack, HoN British English Announcer Pack, HoN BreakyCPK Announcer Pack, HoN Pimp Announcer Pack, HoN Seductive Announcer Pack,

-Settings can be modified by a gm in game



My reason why i modified this


the reason why i modified this was
-i need it for my server
-i am a HoN/Dota player
-its KEWL
-ghost is still at school and his script is still not stable, i asked permission on his topic in rathena but he didnt replied for like 2-3 days(but i cant help myself to edit it biggrin.png)



How to make it work?


1st
do a query on your database
 

CREATE TABLE IF NOT EXISTS `pvp_rank` (
`char_id` int(11) NOT NULL,
`account_id` int(11) NOT NULL,
`char` varchar(30) NOT NULL,
`kill` int(11) NOT NULL,
`death` int(11) NOT NULL,
`kdr` varchar(30) NOT NULL,
`killingstreak` int(11) NOT NULL,
`multikill` int(11) NOT NULL,
`killingspree` int(11) NOT NULL,
`dominating` int(11) NOT NULL,
`megakill` int(11) NOT NULL,
`unstoppable` int(11) NOT NULL,
`wickedsick` int(11) NOT NULL,
`monsterkill` int(11) NOT NULL,
`godlike` int(11) NOT NULL,
`beyondgodlike` int(11) NOT NULL,
`doublekill` int(11) NOT NULL,
`triplekill` int(11) NOT NULL,
`ultrakill` int(11) NOT NULL,
`rampage` int(11) NOT NULL,
`ownage` int(11) NOT NULL,
`nemesiskill` int(11) NOT NULL,
`feedcount` int(11) NOT NULL,
PRIMARY KEY (`char_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;



 

2nd this wav files : wav

data/wav

then add this npc:  script

finally start your server

go to prontera setup your configurations

or you can setup your default configurations in your npc file


Goals


so basicly what i or we need for impovement is
-gm menu in game for adding more options
like the map @_@ and item reward
i dunno how to add it in menu


and someone who can clean the script biggrin.png



changelog

 


1/15/2013 4:06am ph time
-fixed some announcers
-feed count will be reset after your nemesis gave you a payback
-menu is now working
-save option now added in gm menu, set it to 1 before you make the changes
-fixed streak ended if monster kills you - now your streak can only be ended with players
-fixed loop problems
-finally merged mercurial and ghost pvp system

1/15/2013 11:38 pm ph time
-added a bit of delay on soundeffect
example payback+doublekill+killingspree
now has .5 sec delay before announcing the next kind of sound effect
-fixed announcement when streak is 10 or more

1/16/2013 2:32am ph time
-fixed player menu

1/16/2013 7:31pm ph time
-added announcer fee option (zeny,cash,skull,item+amount)
-added reset item fee option now its (zeny,cash,skull,item+amount)


1/16/2013 8:11pm ph time
-for got to add options to change announcer fee and reset fee in gm option, NOW added

1/29/2013 11:15am ph time
-added kills/death/kdr in pvp statistics
added reset ladder option in gm menu

 

 

4/2/2013 8:35am ph time

-fixed menu bugs

-fixed announce map or all

 


Credits to the orginal authors GHOST and MERCURIAL

you may now test it

i will try to support you guys as much as i can but i cant guarantee you

i will not support using this ladder for your flux or website because im not good at it

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

Recommended Posts


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

ok thx icabit. after i use your wav sound no more error.

but the pvp_rank sql ? 

nothing ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

u can still use ghost's sql. i used the same table for mine also

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

u can still use ghost's sql. i used the same table for mine also

 

im using yours. but. why the rank in not updates ? 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

it will update upon logout

and test it using a non gm character

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

it will update upon logout

and test it using a non gm character

 

thx for the info. its work like charm :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

it will update upon logout

and test it using a non gm character

 

thx for the info. its work like charm :)

 

kindly report for errors

you could also suggest but pls not the flux thing @_@

 

i will still need to clean the script on my own if i have time

well for now this is it

Edited by icabit
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

omg 1st of all this aint the right section for your question 

oh well


open up cmd(command prompt)

 

type in ipconfig/all

look for ipv4 default gate way

 

then copy it type it in your browser

then it might ask for a username or password(at this moment your trying to access your router user interface)

in order for players to get on your server(which is your computer the one you are using)

add those ports in port forwarding in your router settings(the guy on the vid uses a linksys router thats why hes using 192.168.1.1)

but not all linksys routers uses that default gateway that's why i asked you to get your default gateway in cmd

 

you could ask your router manufacturer for assistance for open the ports for you

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   1
  • Joined:  07/06/12
  • Last Seen:  

found bug, when normal player looks at its statistics then chose nemesis streak it ask if it wants to reset the stats, and if view stats>choose to reset ladder it just close nothing more.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

found bug, when normal player looks at its statistics then chose nemesis streak it ask if it wants to reset the stats, and if view stats>choose to reset ladder it just close nothing more.

thx for the report now fixed i should have removed kills statistics since it showing up from already when checking pvp statistics

content in pastebin now updated

heres the link http://pastebin.com/ePbV08SL

its still the same as before just redownload

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   3
  • Joined:  11/05/11
  • Last Seen:  

im having this error, can anyone help?

nxp37r.jpg

 

EDIT: i got it working, somehow pastebin converts [TABS] into [sPACES] so when you copy/paste it, it gives the error above^

Edited by chiCHI
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

im having this error, can anyone help?

nxp37r.jpg

 

EDIT: i got it working, somehow pastebin converts [TABS] into [sPACES] so when you copy/paste it, it gives the error above^

i updated my links in 1st post

 

sorry bout that

Edited by icabit
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   345
  • Joined:  02/26/12
  • Last Seen:  

any updates with that?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

any updates with that?

updates for? @_@ be specific

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

everytime i change the location of the npc i got a problem on this script?

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

works well with me

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   6
  • Joined:  11/13/12
  • Last Seen:  

Where should I put the .wav files? data\wav? or directly \wav?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

data/wav



i wont bother to support this topic anymore since this is not a script release

 

this is scripting support section but it ended up that i fixed it myself so LOL

 

 

@moderators kindly close this topic

the topic is not solved

Edited by icabit
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...