Raised This Month: $32 Target: $400
 8% 

City Temperature on join | Updated Nov 26th 2022


Post New Thread Reply   
 
Thread Tools Display Modes
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 10-17-2019 , 12:30   Re: City Temperature on join. | Updated (10/12/2019)
Reply With Quote #21

great work as always
more suggestions in case you want it

- make it multilingual
- make it colored messages, cromchat is great but any will be nice
like
"Player" connected from "City", temperature right now is "temp°" use blue for cold temp from -15° to 14°, and red for warm from 15°

- play a sound when player connect, like buttons/bell1.wav (cvar for on off)
- options for msg in chat or hud
- option for client to disable notifications like /connect

will think of a few more ideas

thanks

Last edited by tarsisd2; 10-17-2019 at 12:42.
tarsisd2 is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 10-17-2019 , 13:07   Re: City Temperature on join. | Updated (10/12/2019)
Reply With Quote #22

Quote:
Originally Posted by tarsisd2 View Post
great work as always
more suggestions in case you want it

- make it multilingual
- make it colored messages, cromchat is great but any will be nice
like
"Player" connected from "City", temperature right now is "temp°" use blue for cold temp from -15° to 14°, and red for warm from 15°

- play a sound when player connect, like buttons/bell1.wav (cvar for on off)
- options for msg in chat or hud
- option for client to disable notifications like /connect

will think of a few more ideas

thanks
The plugin is 1.9 amxx, so cromchat not needed.
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 10-17-2019 , 13:22   Re: City Temperature on join. | Updated (10/12/2019)
Reply With Quote #23

Quote:
Originally Posted by iceeedr View Post
The plugin is 1.9 amxx, so cromchat not needed.
client_print_color works, but with my idea of blue and red for different temperature would be easier with cromchat, since client_print_color x03 uses teamcolors, and with cromchat its easier to use &x07 = red and &x06 = blue
player and city green color, text default yellow, and temp blue or red depending on the value, i guess it can be done

maybe i am mistaken
tarsisd2 is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 10-17-2019 , 14:55   Re: City Temperature on join. | Updated (10/12/2019)
Reply With Quote #24

TE_TEXTMESSAGE can accomplish multi-color and make the words look on fire or ice even with 1.8.2! What I thought would be great possibly is to have vox say 'the temperature now is whatever degrees' then have te_text take it from there on extreme temp ranges. ML support and the weather get sound is done. There are so many connect sounds on other plugins. What I picked and saved on OP definitely sounds like the weather and only plays when it gets the weather. That's close to connect but not on top eliminating any interference.
__________________
DJEarthQuake is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 10-17-2019 , 15:04   Re: City Temperature on join. | Updated ML (10/17/2019)
Reply With Quote #25

nice sharing, any image?

An undefined location is incorrect at the IP address or region or IP has changed and will show another region?

I forgot how to check by dialer area
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 10-17-2019 , 16:03   Re: City Temperature on join. | Updated ML (10/17/2019)
Reply With Quote #26

Quote:
Originally Posted by Fuck For Fun View Post
nice sharing, any image?

An undefined location is incorrect at the IP address or region or IP has changed and will show another region?

I forgot how to check by dialer area
Depends. Check the IP on a individual basis. Occasionally somebody will show an IP of 127.0.0.1 as they join, then a real IP as they exit. In that case the IP would be the reason. Then there is the case that the IP is valid and it is not in free GeoIP database. The Core 1.9.0 had a bug in Linux GeoIP for a year. So IP can be valid and in the database while core GeoIP module wasn't polling longitude and latitude. It's fixed now. I optimized feed to retry instead of pass-on-fail. That should stop a lot of the nulls on my end.
__________________

Last edited by DJEarthQuake; 10-22-2019 at 14:20. Reason: clarify
DJEarthQuake is offline
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 10-20-2019 , 08:47   Re: City Temperature on join. | Updated ML (10/18/2019)
Reply With Quote #27

portuguese translation

PHP Code:
[bp]
CLIENTEMP_PRINT ""%s" conectou de "%s", temperatura de %s° graus" 
tarsisd2 is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 10-21-2019 , 21:13   Re: City Temperature on join. | Updated ML (10/21/2019)
Reply With Quote #28

Thank you @tarsisd2 for the portuguese translation.
The color version is ready. It needs some testing and tuning.
__________________

Last edited by DJEarthQuake; 10-31-2019 at 21:24.
DJEarthQuake is offline
Snake.
Senior Member
Join Date: Jul 2017
Old 10-26-2019 , 19:52   Re: City Temperature on join. | Updated ML (10/22/2019)
Reply With Quote #29

Code:
[tr]
HUD_CLIENTEMP_PRINT = "%s "%s" yerinden baglandi, sicaklik suan %i°"
LOG_CLIENTEMP_PRINT = ""%s" "%s" yerinden baglandi, sicaklik suan "%i°""
CS_CLIENTEMP_PRINT = "^4%s ^3%s ^1yerinden baglandi, ^1sicaklik suan ^3%i°"
HL_CLIENTEMP_PRINT = "%s sicaklik suan %i derece."
Snake. is offline
Send a message via Skype™ to Snake.
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 10-26-2019 , 23:57   Re: City Temperature on join. | Updated ML (10/26/2019)
Reply With Quote #30

Thank you once again Snake. for your Turkish translation work!
__________________
DJEarthQuake is offline
Reply


Thread Tools
Display Modes

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 -4. The time now is 05:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode