people playing: 91, servers online: 29, games played: 142,000,000 Top Player: Money

  Toribash Community » Toribash » Mods » Lua scripts
Register FAQ General Rules Community
Reply
 
Thread Tools Display Modes
Old Jan 13, 2016   #1
Leagueion
Junior Member
 
Green Belt
Join Date: Jan 2016
Posts: 6



Another [REQ]: Player Stats
This time its a more simple request, not hard or easy to make.
On the side, when script is loaded a small info gui will appear.
I want the information that I get on the screen like
---
Username:
Join Date:
Belt:
Clan:
Wins:
Losses:
---
I am not a scripter, and not sure if this is possible.
Just PM me or POST the file here if you have finished!

Thanks!
- Leagueion
Leagueion is offline   Reply With Quote
Old Jan 13, 2016   #2
Onsola
Senior Member
 
6th Dan Black Belt
Join Date: Jun 2014
Posts: 1,333
Clan: Vector



That is pretty much what you see when you right click on somebody and click on info.
You want a gui for it? its showed on the chat so i think it would be kinda useless idk
<Xioi> Become one with the bleach
Steam
Onsola is offline   Reply With Quote
Old Jan 13, 2016   #3
Leagueion
Junior Member
 
Green Belt
Join Date: Jan 2016
Posts: 6



Originally Posted by Onsola View Post
That is pretty much what you see when you right click on somebody and click on info.
You want a gui for it? its showed on the chat so i think it would be kinda useless idk

..
What? How is it useless, its not, So when you are versing someone.
It shows the information I put on there and stays on there.
And no, its not when you right click someone.
It shows the stuff like on the toribash forums
Made on:
Clan:
and etc, whatevez! :P
Leagueion is offline   Reply With Quote
Old Jan 13, 2016   #4
<Mack
 
3rd Dan Black Belt
Join Date: Jul 2013
Posts: 2,974
Clan: Evolution



I'm pretty sure you can do all this by typing /stats (username)
|Snopp|
|Replays|
"Macks replays are racist" -Larfen
Mack is offline   Reply With Quote
Old Jan 13, 2016   #5
nikosefs
ub3r
 
Drunken Master Belt
Join Date: May 2008
Posts: 2,975



i think he means all your wins/loses,not just the game session,
i could be wrong though.
nikosefs is offline   Reply With Quote
Old Jan 13, 2016   #6
Leagueion
Junior Member
 
Green Belt
Join Date: Jan 2016
Posts: 6



Originally Posted by nikosefs View Post
i think he means all your wins/loses,not just the game session,
i could be wrong though.

Yeah,
Username:
Join Date:
Belt:
Clan:
Wins:
Losses:
There is wins and losses.
I just really wanna gui to look at and see that info.
Would kinda help.
I play Toribash
Leagueion is offline   Reply With Quote
Old Jan 13, 2016   #7
psycore
Member
 
2nd Dan Black Belt
Join Date: Feb 2010
Posts: 388



Lua scripts can't access the internet so if the information isn't somewhere in the client already you can't get it.
Signature temporarily out of order.
psycore is offline   Reply With Quote
Old Jan 14, 2016   #8
Goose
Member
 
4th Dan Black Belt
Join Date: May 2013
Posts: 284



psycore, would it be possible to get the W/L purely from the winratio and games played?
Goose is offline   Reply With Quote
Old Jan 14, 2016   #9
psycore
Member
 
2nd Dan Black Belt
Join Date: Feb 2010
Posts: 388



Yes, games played and win ratio seem to be global (not just for the current session).

wins = games_played * winratio
losses = games_played * (1 - winratio) = games_played - wins
Signature temporarily out of order.
psycore is offline   Reply With Quote
Old Jan 14, 2016   #10
Goose
Member
 
4th Dan Black Belt
Join Date: May 2013
Posts: 284



figured it would have been something like that, just wanted to see if something like this was relatively possible. Just got into lua.
Goose is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:18 PM.




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
ragdoll fighting game physics fighting game ragdoll fighting physics funmotion joints martial arts karate pc mac free game turn based game