IPB

Welcome Guest ( Log In | Register )



12 Pages V   1 2 3 > »   
Closed TopicStart new topic
Pvp-ladder, no SQL needed
Terces
post Apr 19 2006, 06:45 PM
Post #1


whoah...that post is boring...
Group Icon

Group: eA Community Contributors
Posts: 930
Joined: 11-June 04
From: Germany
Member No.: 704



Overview:
~Explanation of the Experience gain
~Features
~Downloads
~Notes
~History/Changelog
~Documentation
(please read it)
~Installation
(!Important!)

Explanation of the Experience gain:
Experience gain works like this formula:
($@LadderLength-(<new position>-1))*$@LadderExp
so if someone gets the first place he'll get
$@LadderLength*$@LadderExp experience points.

Features:
[v1.6.2]-new announcements
[v1.6.2]-now shows how long you hold your current position
[v1.6.2]-change color codes of the PVP-Ladder
[v1.6.2]-change length of the PVP-Ladder
[v1.6]-considers and shows the Deaths in the Ladder
[v1.6]-shows time when reached the current position
[v1.6]-exp-gain when reaching a new position
[v1.5a]-enable/disable the announcement of the PVP stats
[v1.4]-PVP-Ladder resetter
[v1.0]-shows Top ten PVP-Killer
[v1.0]-shows own stats since last login
[v1.0]-shows stats for the current player
[v1.0]-shows stats for the whole account
[v1.0]-It's bilingual: English and German
red = deleted in newer versions
orange = edited in newer versions

*~Downloads~*
Do not use the red versions...they are outdated and bugged
Due to nopaste wiping their files I have reupped the latest version of the script. If you need any other version please let me know
Version 1.6.3
http://www.rocklion.net/easu/1823/ [re-re-reupped, thanks to Dant3 and Info for bugfixing]
http://terces.pytalhost.com/Scripts/PVPLadder%20v.1.6.3.txt [re-reupped <.<]
http://nopaste.php-quake.net/2784 [reupped]
http://nopaste.php-q.net/218043
Version 1.6.2 [working perfectly]
http://nopaste.php-q.net/217785
Version 1.6.1 [timestamp needs fixing]
http://nopaste.php-q.net/217725
Version 1.6 [gotta fix something...]
http://nopaste.php-q.net/215512
Version 1.5b
http://nopaste.php-q.net/217705
Version 1.5a
http://nopaste.php-q.net/208502
Version 1.4
http://nopaste.php-q.net/207162
Version 1.3
http://nopaste.php-q.net/207040
Version 1.2
http://nopaste.php-q.net/207035
Version 1.1
http://nopaste.php-q.net/206847
Version 1.0 (first version....half a year old!!)
http://nopaste.php-q.net/206709

I want to thank Nataku and waiteck for their hosting. Sadly they both went offline, or at least the downloads don't work anymore.

Notes:
-This NPC uses "PCKillEvent". If you have any other NPC that uses "PCKillEvent" errors might occur. Ask if you need help with it.
-I know that there are other NPCs which do the same as mine, but this one was one of my projects long time ago and it is all made from scratch. When I made this NPC there was no NPC of that kind!!
I recommend you to always use the latest stable version which are shown as green versions unless you want to test the alpha/beta versions or want to use an older version. ^^

History/Changelog:
09.06 [version 1.6.3]
-bugfixing
09.06 [version 1.6.2]
-added even more features
08.06 [version 1.5b]
-silent release of 1.5b as 1.6 still made trouble
29.05 [version 1.6]
-added new features (see the feature list)
28.04 [version 1.5a]
-added the possibility to enable/disable announcements (thanks XxBunnyBoyxX )
22.04 [version 1.4]
-made the PVP-Ladder work
21.04 [version 1.3]
-more fixing
21.04 [version 1.2]
-more fixing (thanks slasher and @(o_O)@ )
20.04 [version 1.1]
-Trying to fix the NPC (thanks @(o_O)@ )
20.04 [version 1.0]
-Initial release

*~Documentation~*
Here's a little guide which should explain the features to you. Every new feature I implemented is listed and explained here.

Laguage select (enable/disable)
search for this line:
CODE
set $@languageselect, 1;
Enable/Disable language selection [English/German]

Ladder Announcement (enable/disable)
search for this line:
CODE
set $@LadderAnnounce, 1;
Enable/Disable the announcement when a char reaches a new position in the ladder

Ladder Length (change value)
search for this line:
CODE
set $@LadderLength, 30;
Set the length of the Ladder !Not higher than 128!

Views per page (change value)
search for this line:
CODE
set $@LadderSteps, 10;
Set the views per page

Experience gain (enable/disable)
search for this line:
CODE
set $@LadderExpGain, 1;
Enable/Disable experience gain when reaching a new position in the ladder (see "Explanation of the Experience gain")

Experience gain (change value)
search for this line:
CODE
set $@LadderExp, 10000;
Set Experience gain value

*~Installation~*

Okay...since there were several changes made in the SVN during the last few weeks and months I have to explain the needed installation steps a bit closer:
1. Open your "eathena/conf/script_athena.conf"
Change
CODE
// 0 - Event script is defined as an NPC by itself
// 1 - Event script can be called by script label
event_script_type: 1

to
CODE
// 0 - Event script is defined as an NPC by itself
// 1 - Event script can be called by script label
event_script_type: 0


2. same file
Change
CODE
// Name of event when a player kills a player
kill_pc_event_name: OnPCKillEvent

to
CODE
// Name of event when a player kills a player
kill_pc_event_name: PCKillEvent


3. Done
that should be it actually...I experienced no problems with those settings.

This post has been edited by Terces: Jan 29 2008, 09:55 AM
Go to the top of the page
 
+Quote Post
ShimmyShine
post Apr 19 2006, 06:49 PM
Post #2


http://www.rotf.aro-network.co.uk
***

Group: eA Level 5 (Super)
Posts: 99
Joined: 27-September 05
From: Hell
Member No.: 126,382



I thought about making this but i said nvm im working on a diff script (its very hard so someone with good scripts skills if you could help me thanks.. i know shimmy askin for help odd.rofl. its a game called phase 10. if anyone steals my iea i will be mad.!) but its very nice i actually may use it.!
Go to the top of the page
 
+Quote Post
Terces
post Apr 19 2006, 06:53 PM
Post #3


whoah...that post is boring...
Group Icon

Group: eA Community Contributors
Posts: 930
Joined: 11-June 04
From: Germany
Member No.: 704



thanks and if you need any help with your script just tell me (either pm or why not make a thread in Support section?)
Go to the top of the page
 
+Quote Post
Evera
post Apr 19 2006, 06:56 PM
Post #4


eAthena Developer
Group Icon

Group: eA Community Contributors
Posts: 91
Joined: 6-November 05
From: California
Member No.: 130,602



Great script (IMG:http://www.eathena.ws/board/style_emoticons/default/biggrin.gif)
Go to the top of the page
 
+Quote Post
Terces
post Apr 19 2006, 06:58 PM
Post #5


whoah...that post is boring...
Group Icon

Group: eA Community Contributors
Posts: 930
Joined: 11-June 04
From: Germany
Member No.: 704



Thanks (IMG:http://www.eathena.ws/board/style_emoticons/default/smile.gif)

(yeshyesh...short comment (IMG:http://www.eathena.ws/board/style_emoticons/default/tongue.gif) )
Go to the top of the page
 
+Quote Post
@(o_O)@
post Apr 19 2006, 09:35 PM
Post #6


Antichrist SuperStar
Group Icon

Group: eAthena Donators
Posts: 13
Joined: 23-November 05
Member No.: 132,569



THIS IS WHAT I WAS Looking for but it dosent work on my pk server eney way i can make this work?
Go to the top of the page
 
+Quote Post
css25
post Apr 20 2006, 12:22 AM
Post #7


Ex - eAAC Mod
Group Icon

Group: eA Community Contributors
Posts: 250
Joined: 28-January 05
From: Above Da Cloud
Member No.: 102,483



W00t. Looks who is come back. It's Terces!
Welcome back to eA script fields. Oh yes, I really like this script. Well done. (IMG:http://www.eathena.ws/board/style_emoticons/default/wink.gif)
Go to the top of the page
 
+Quote Post
Terces
post Apr 20 2006, 08:15 AM
Post #8


whoah...that post is boring...
Group Icon

Group: eA Community Contributors
Posts: 930
Joined: 11-June 04
From: Germany
Member No.: 704



lol....css XD
btw...do you think it has any chance to pass the "eAAC Certification Scheme" (donno how that's called (IMG:http://www.eathena.ws/board/style_emoticons/default/tongue.gif) )?? I might even update the script for it if it does have a chance


hey...errr....@(o_O)@ (IMG:http://www.eathena.ws/board/style_emoticons/default/tongue.gif)
does it give you any error or is it just not counting?
Go to the top of the page
 
+Quote Post
@(o_O)@
post Apr 20 2006, 08:21 AM
Post #9


Antichrist SuperStar
Group Icon

Group: eAthena Donators
Posts: 13
Joined: 23-November 05
Member No.: 132,569



QUOTE (Terces @ Apr 20 2006, 01:15 PM)
lol....css XD
btw...do you think it has any chance to pass the "eAAC Certification Scheme" (donno how that's called (IMG:http://www.eathena.ws/board/style_emoticons/default/tongue.gif) )?? I might even update the script for it if it does have a chance


hey...errr....@(o_O)@ (IMG:http://www.eathena.ws/board/style_emoticons/default/tongue.gif)
does it give you any error or is it just not counting?

Well my server is pk but yea its not counting the pks >_> Fix pweex^^
Go to the top of the page
 
+Quote Post
Terces
post Apr 20 2006, 08:25 AM
Post #10


whoah...that post is boring...
Group Icon

Group: eA Community Contributors
Posts: 930
Joined: 11-June 04
From: Germany
Member No.: 704



hmm..okay...I'm going through the script again and see what I can find out. I'll also update the script then (add some "for" here and there).

Maybe it's because of the "PCKillEvent"...I think you have to change something in the config....sheesh....so long ago.....

Check your script_athena.conf in the conf folder if the settings are:
CODE
// 0 - Event script is defined as an NPC by itself
// 1 - Event script can be called by script label
event_script_type: 0

// For events to be activated do we require
// a 'set [EventName],1;' to be called first?
event_requires_trigger: no

// Name of event when a player has died
die_event_name: PCDieEvent

// Name of event when a player kills something
kill_event_name: PCKillEvent


maybe....css...you have any ideas? ^^;


[EDIT]
Sorry...you gotta wait a little bit...have to go for about 2 hours....after that I'll be doing this...
Go to the top of the page
 
+Quote Post
@(o_O)@
post Apr 20 2006, 08:27 AM
Post #11


Antichrist SuperStar
Group Icon

Group: eAthena Donators
Posts: 13
Joined: 23-November 05
Member No.: 132,569



QUOTE (Terces @ Apr 20 2006, 01:25 PM)
hmm..okay...I'm going through the script again and see what I can find out. I'll also update the script then (add some "for" here and there).

Maybe it's because of the "PCKillEvent"...I think you have to change something in the config....sheesh....so long ago.....

Check your script_athena.conf in the conf folder if the settings are:
CODE
// 0 - Event script is defined as an NPC by itself
// 1 - Event script can be called by script label
event_script_type: 0

// For events to be activated do we require
// a 'set [EventName],1;' to be called first?
event_requires_trigger: no

// Name of event when a player has died
die_event_name: PCDieEvent

// Name of event when a player kills something
kill_event_name: PCKillEvent


maybe....css...you have any ideas? ^^;

Alright ill give those setting a try if they dont work hope css can get them to work (IMG:http://www.eathena.ws/board/style_emoticons/default/happy.gif)

*edited*
sorry i cant test it right know i got some people online wich i bearly have and i dont want them to sign off XP can some one test it please?
Go to the top of the page
 
+Quote Post
Terces
post Apr 20 2006, 10:56 AM
Post #12


whoah...that post is boring...
Group Icon

Group: eA Community Contributors
Posts: 930
Joined: 11-June 04
From: Germany
Member No.: 704



Update
Version 1.1:
-shortened the script and rewrote the loops.


check first post for the new script....I advice to use the newer version.
The script doesn't give any errors in the mapserver, so I guess it should work....couldn't test it though (I'm the only player on my server....who should I kill??)


@(o_O)@
doesn't @reloadscript also reload the settings for the script?....that way they wouldn't have to log off....
Go to the top of the page
 
+Quote Post
css25
post Apr 20 2006, 11:11 AM
Post #13


Ex - eAAC Mod
Group Icon

Group: eA Community Contributors
Posts: 250
Joined: 28-January 05
From: Above Da Cloud
Member No.: 102,483



QUOTE (Terces @ Apr 20 2006, 01:15 PM)
lol....css XD
btw...do you think it has any chance to pass the "eAAC Certification Scheme" (donno how that's called (IMG:http://www.eathena.ws/board/style_emoticons/default/tongue.gif) )?? I might even update the script for it if it does have a chance


hey...errr....@(o_O)@ (IMG:http://www.eathena.ws/board/style_emoticons/default/tongue.gif)
does it give you any error or is it just not counting?

If you want to make sure if its fit with eAAC certification scheme, you may need to work hard on it...err...I mean test in every aspect by yourself, such as menu label, it is error on loading or not, daily usage, etc etc. I know it is hard, because most of us, as a scripter, testing our sript by ourself, so, it is not so easy for us to detect any small error on our script.
Anyways, I encourage you to put your script to be one of eAAC script. All you have to do is ... just let us of know when you are ready for it (IMG:http://www.eathena.ws/board/style_emoticons/default/wink.gif)
Go to the top of the page
 
+Quote Post
Terces
post Apr 20 2006, 11:20 AM
Post #14


whoah...that post is boring...
Group Icon

Group: eA Community Contributors
Posts: 930
Joined: 11-June 04
From: Germany
Member No.: 704



hmm...it's hard to test it since I can only test it on my server right now and I'm the only player ^^;
but we'll see...maybe @(o_O)@ can report and bugs (IMG:http://www.eathena.ws/board/style_emoticons/default/smile.gif)
Go to the top of the page
 
+Quote Post
@(o_O)@
post Apr 21 2006, 04:54 AM
Post #15


Antichrist SuperStar
Group Icon

Group: eAthena Donators
Posts: 13
Joined: 23-November 05
Member No.: 132,569



Man i swear i love this scrip i want it to work XP well eney ways check this out http://img226.imageshack.us/img226/4712/untitled9eu.jpg this keeps spaming a whole bunch and i check my map_server.exe and its flooding with errors and makes my pc lag like theres no tomorow XP
Go to the top of the page
 
+Quote Post

12 Pages V   1 2 3 > » 
Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 24th October 2014 - 05:17 AM
Bridged By IpbWiki: Integration Of Invision Power Board and MediaWiki © GlobalSoft