The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Top Player Board
Author Message
gooool
Apprentice
*

Posts: 18
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #11
RE: Top Player Board
(09-14-2013 01:09 AM)Mordaunt Wrote:  Ok... here is your answer

ref1= something not sure what since you have not posted ANY script for anyone to assist you with.

I'm curious also... what OS are you running on your computer?

Windows 8
09-14-2013 02:14 AM
Find all posts by this user
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #12
RE: Top Player Board
so... you use the latest version of windows (even though it's kind of sucky) but you won't run the more stable/less buggy/more up to date 2013 56b prerelease (even though it is better and doesn't require any script changes)

see my point?

And you still haven't posted any script.

So... if you want help, help us to help you by giving us the information we need.
Or I'll lock the thread as it's just wasting everyone's time, including yours.

[Image: 2nis46r.jpg]
09-14-2013 02:17 AM
Visit this user's website Find all posts by this user
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #13
RE: Top Player Board
(09-14-2013 02:17 AM)Mordaunt Wrote:  so... you use the latest version of windows (even though it's kind of sucky) but you won't run the more stable/less buggy/more up to date 2013 56b prerelease (even though it is better and doesn't require any script changes)

see my point?

And you still haven't posted any script.

So... if you want help, help us to help you by giving us the information we need.
Or I'll lock the thread as it's just wasting everyone's time, including yours.
"EXTREME pressed the 'like' button."

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
09-14-2013 03:02 AM
Find all posts by this user
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #14
RE: Top Player Board
i think this is the script he's using Tongue

   

Code:
//Created by Soulless
// V 1.00
//Basic top player board displaying fame, kills, karma, total skills, gold, deaths, etc


[itemdef i_top_player_board]
id=i_bulletin_board
name=Top Player board
type=t_normal

on=@create
attr=010
color=0486

on=@dclick
sdialog d_top_player_board
return 1


[dialog d_top_player_board]
150, 150
page 0
gumppic 25 25 2170
dtext 195 60 100 Top
gumppic 219 31 1417
gumppic 230 40 5608
dtext 302 60 100 Players
gumppic 30 170 5536

serv.allclients findplayer_highest,<uid>,fame
serv.allclients findplayer_lowest ,<uid>,fame
serv.allclients findplayer_highest,<uid>,karma
serv.allclients findplayer_lowest ,<uid>,karma
serv.allclients findplayer_highest,<uid>,skilltotal
serv.allclients findplayer_lowest ,<uid>,skilltotal
serv.allclients findplayer_highest,<uid>,kills
serv.allclients findplayer_highest,<uid>,deaths
serv.allclients findplayer_lowest,<uid>,deaths
serv.allclients findplayer_highest,<uid>,gold
serv.allclients findplayer_lowest,<uid>,gold

ref1=<tag0.fame>
ref2=<tag0.fame2>
ref3=<tag0.karma>
ref4=<tag0.karma2>
ref5=<tag0.skilltotal>
ref6=<tag0.skilltotal2>
ref7=<tag0.kills>
ref8=<tag0.deaths>
ref9=<tag0.deaths2>
ref10=<tag0.gold>
ref11=<tag0.gold2>

dtext 160 180 100  Most Famed: <ref1.name>
dtext 160 195 1000 Least Famed: <ref2.name>
dtext 160 210 100  Highest Karma: <ref3.name>
dtext 160 225 1000 Lowest Karma: <ref4.name>
dtext 160 240 100  Most Skilled: <ref5.name>
dtext 160 255 1000 Least Skilled: <ref6.name>
dtext 160 270 100  Most Murders: <ref7.name>
dtext 160 285 1000 Most Deaths: <ref8.name>
dtext 160 300 100  Least Deaths: <ref9.name>
dtext 160 315 1000 Richest: <ref10.name>
dtext 160 330 100  Poorest: <ref11.name>


[function findplayer_highest]
ref1=<argv[0]>
ref2=<ref1.tag0.<argv[1]>>
if ((<<argv[1]>> > <ref2.<argv[1]>>) || !(<ref1.tag0.<argv[1]>>)) && !(<account.plevel>>1)
ref1.tag0.<argv[1]>=<uid>
endif

[function findplayer_lowest]
ref1=<argv[0]>
ref2=<ref1.tag0.<argv[1]>2>
if ((<<argv[1]>> < <ref2.<argv[1]>>) || !(<ref1.tag0.<argv[1]>2>))  && !(<account.plevel>>1)
ref1.tag0.<argv[1]>2=<uid>
endif

What am I working on?
(This post was last modified: 09-14-2013 06:44 AM by Soulless.)
09-14-2013 06:34 AM
Visit this user's website Find all posts by this user
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #15
RE: Top Player Board
If this is the script, wich for sure it is just looking for the line of errors, I tested it on last release and it works like a charm. I can't remember until when, but some years ago you couldn't create tag.bla<ble> and you should use TRY tag.bla<ble> so this can be the problem there, like so many more... no one can force you to upgrade your .exe but, in this case, if will be your easiest solution Smile
09-14-2013 07:24 AM
Find all posts by this user
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #16
RE: Top Player Board
yes i would recommend updating man. i believe REF didnt exist in the 2007 build, im sure this script could be done differently but as it is, on the 2012 nightlies and the 2013 pre-release it works just fine.

I can not see any good reason to stick with a version thats 5 years old. there have been MANY useful additions to the 56B Build.

there is an inherent problem with this script though, but i never thought much of it. it only scores the top player based on available online players. not too much of an issue, but this seemed a lot easier than using FORCLIENT.

What am I working on?
(This post was last modified: 09-14-2013 08:19 AM by Soulless.)
09-14-2013 08:18 AM
Visit this user's website Find all posts by this user
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #17
RE: Top Player Board
Which brings use back to my original point.
Also kind of sad that someone else has to supply the script he is working from for anyone else to see what is going on...

There are guidelines for posting at the top of every forum.
USE THEM

[Image: 2nis46r.jpg]
09-14-2013 09:05 AM
Visit this user's website Find all posts by this user
Rattlehead
Master
**

Posts: 290
Likes Given: 3
Likes Received: 8 in 6 posts
Joined: Jun 2012
Reputation: 8



Post: #18
RE: Top Player Board
in the 2007 releases (which i have many folders and such from even back to 2001) it seems only OBJ was implemented, not REFx.

when u got several ppl here telling you to upgrade, ppl who have been here longer than u have even know of spheres existence, i would take the suggestions, we know what we are talking about alot more than you think you do.

[Image: matts_siggy.gif]
09-14-2013 04:08 PM
Find all posts by this user
gooool
Apprentice
*

Posts: 18
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #19
RE: Top Player Board
Yes, I work for the 2007 ref.

here's a piece of the script and it works
ref1 = <UID. <local.uid_members>. FINDCONT.0.MORE1>
ref2 = <UID. <local.uid_members>. FINDCONT. <EVAL <local.count_members> - 1>. MORE1>

Help script (top_player_bord) alter under my Sphere
09-14-2013 08:49 PM
Find all posts by this user
dagger4k
Journeyman
*

Posts: 194
Likes Given: 1
Likes Received: 12 in 12 posts
Joined: Mar 2012
Reputation: 0



Post: #20
RE: Top Player Board
gool you're not helping your case. you NEED the latest sphere build http://prerelease.sphere.torfo.org/build...-Win32.zip

Also please post the top_player_board SCRIPT.

We are trying to help!
09-14-2013 09:56 PM
Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)