Ulysses Stuff > Releases
Advanced Join and Leave (Supporting Sounds, Messages, GeoIP, Multi Coloring!)
axeboy1778:
Constantly getting an error now instead of fetching the GeoIP, anyone know why? [Game] Jake connected from ERR!
Fanney:
--- Quote from: axeboy1778 on September 17, 2014, 03:30:04 AM ---Constantly getting an error now instead of fetching the GeoIP, anyone know why? [Game] Jake connected from ERR!
--- End quote ---
Is your Server probably blocking outside calls?
Maybe your server can't access ip-api.com it's been and is working fine for me
axeboy1778:
It has previously worked, not sure what changed. It just stopped working.
EDIT: I stand corrected, it has since started working. No idea why it stopped working for a while.
Fanney:
--- Quote from: axeboy1778 on September 19, 2014, 09:28:19 PM ---It has previously worked, not sure what changed. It just stopped working.
EDIT: I stand corrected, it has since started working. No idea why it stopped working for a while.
--- End quote ---
You can add some debug by editing advjoinleave / lua / autorun / server / ss_advjl.lua.
Search for -- Request was successful
and add following:
--- Code: ---ServerLog("Response data:" .. data .. "\n")
--- End code ---
then it should look like
--- Code: ----- Request was successful
ServerLog("Response data:" .. data .. "\n")
--- End code ---
Then just connect and paste the output, or maybe it'll return a error that says something.
Fanney:
Keeping up with my changes:
Update 1:
Updated, my favorite update!
I've added multi color support via hex colors and support for multiplie parameters to output more information.
You're now able to display more than before on disconnect and join, you can display following things:
--- Code: ---GEO-IP releated:
!zip! - Player's zip code, most likely it's empty.
!country! - Player's country like "Germany".
!countryCode! - Player's country code like "DE".
!query! - The IP of the requested info.
!city! - Player's city.
!org! - Player's ISP organisation.
!region! - Player's regions short code like "WEYWTIT" (ok abit shorter).
!lat! - Player's latitude like "48.75".
!timezone! - Player's timezone like "Europe/Berlin".
!isp! - Player's ISP like "mediaways".
!regionName! - Player's region name like "whateveryouwanttoinsethere".
player releated:
!playername! - Player's name.
!group! - Player's current group like "superadmin".
!steamid! - Player's Steam ID like "STEAM_0:0:37706701".
--- End code ---
The new default's will now look like:
Everything you need is in the config, it should be self-explanatory.
Main Post got updated.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version