Raised This Month: $46 Target: $400
 11% 

City Temperature on join. | Updated ML (Sat 04/04/2020)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Event Related       
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: All over the place.
Old 03-12-2019 , 11:45   City Temperature on join. | Updated ML (Sat 04/04/2020)
Reply With Quote #1

СLіЄИҬ ҬЄӍթЄГѦҬԱГЄ

Quote:
Originally Posted by tarsisd2 View Post
your plugin could detect from what city is the player from and get the weather right for him!
Requires: AMXX 1.9+.
Quote:
Originally Posted by tarsisd2 View Post
"Player" connected from "City", temperature right now is "temp°"
Translations.
Spoiler

Attached Files
File Type: zip clientemp sound.zip (14.3 KB, 45 views)
File Type: sma Get Plugin or Get Source (clientemp.sma - 18 views - 12.6 KB)
File Type: txt clientemp.txt (3.5 KB, 1 views)
__________________
"It's not the actual programming that's interesting. But it's what you can accomplish with the end results that are important." -Dennis Ritchie
"Mathematics, rightly viewed, possesses not only truth, but supreme beauty — a beauty cold and austere, like that of sculpture..." -Bertrand Russell

Last edited by DJEarthQuake; 04-04-2020 at 13:20. Reason: Refresh 𝕋𝕣𝔸𝔽𝔽𝕀ℂ𝕚𝕕
DJEarthQuake is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-12-2019 , 22:17   Re: TrafficID
Reply With Quote #2

So, why is the title of your thread "TrafficID"? Makes no sense. Also, are you saying that none of the other plugins that do this exact same thing no longer work?
__________________
fysiks is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: All over the place.
Old 03-12-2019 , 23:53   Re: TrafficID
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
So, why is the title of your thread "TrafficID"? Makes no sense. Also, are you saying that none of the other plugins that do this exact same thing no longer work?

Thanks for your feedback. This is reposted and answered later.
__________________
"It's not the actual programming that's interesting. But it's what you can accomplish with the end results that are important." -Dennis Ritchie
"Mathematics, rightly viewed, possesses not only truth, but supreme beauty — a beauty cold and austere, like that of sculpture..." -Bertrand Russell

Last edited by DJEarthQuake; 02-05-2020 at 14:58. Reason: brevity
DJEarthQuake is offline
smurfavr
Member
Join Date: Jan 2011
Location: Bulgaria
Old 03-13-2019 , 08:03   Re: TrafficID
Reply With Quote #4

AMX Mod X v1.8.2-d server Hl1 eror
Code:
//// named.sma
// D:\server-2\valve\addons\amxmodx\scripting\named.sma(21) : error 017: undefin
ed symbol "geoip_city"
// D:\server-2\valve\addons\amxmodx\scripting\named.sma(23) : error 017: undefin
ed symbol "client_print_color"
// D:\server-2\valve\addons\amxmodx\scripting\named.sma(36) : error 017: undefin
ed symbol "geoip_city"
// D:\server-2\valve\addons\amxmodx\scripting\named.sma(38) : error 017: undefin
ed symbol "client_print_color"
Here it also gives, error.
http://aghl.ru/webcompiler/webcompiler.php
__________________





Last edited by smurfavr; 03-13-2019 at 08:15.
smurfavr is offline
Send a message via Skype™ to smurfavr
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 03-13-2019 , 11:54   Re: TrafficID
Reply With Quote #5

Quote:
Originally Posted by smurfavr View Post
AMX Mod X v1.8.2-d server Hl1 eror
you'd need 1.9 to run this
__________________

Last edited by <VeCo>; 03-13-2019 at 11:55.
<VeCo> is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: All over the place.
Old 03-13-2019 , 11:55   Re: TrafficID
Reply With Quote #6

This is definitely not for 1.8.2.
__________________
"It's not the actual programming that's interesting. But it's what you can accomplish with the end results that are important." -Dennis Ritchie
"Mathematics, rightly viewed, possesses not only truth, but supreme beauty — a beauty cold and austere, like that of sculpture..." -Bertrand Russell

Last edited by DJEarthQuake; 02-05-2020 at 12:02. Reason: 1.8.3-dev-git5151-base should work
DJEarthQuake is offline
thEsp
Veteran Member
Join Date: Aug 2017
Old 03-13-2019 , 14:48   Re: TrafficID
Reply With Quote #7

Attach a zip file if it doesn't compile. Not everyone viewing this forums or thread is capable of coding, in this case compiling locally.
__________________
Accepting private AMXX plugin requests. Discord: thEsp#7885.
thEsp is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-13-2019 , 16:00   Re: TrafficID
Reply With Quote #8

Quote:
Originally Posted by thEsp View Post
Attach a zip file if it doesn't compile. Not everyone viewing this forums or thread is capable of coding, in this case compiling locally.
Everyone should know how to compile locally.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: All over the place.
Old 03-13-2019 , 18:24   Re: TrafficID
Reply With Quote #9

Updates were made.
__________________
"It's not the actual programming that's interesting. But it's what you can accomplish with the end results that are important." -Dennis Ritchie
"Mathematics, rightly viewed, possesses not only truth, but supreme beauty — a beauty cold and austere, like that of sculpture..." -Bertrand Russell

Last edited by DJEarthQuake; 02-05-2020 at 12:04. Reason: dev 1.83 tested successfully for geo
DJEarthQuake is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-13-2019 , 22:39   Re: TrafficID
Reply With Quote #10

Quote:
Originally Posted by DJEarthQuake View Post
Since when did you become a nominalist? I did not know you were multi-talented! Now that makes absolutely no sense. This identifies the network traffic and places it into log file. Follow? Sure there are others similar albeit unmaintained and unnecessarily convoluted big code. This works. One tiny sma. Void of tons of other files and instructions. Just drop it in and it works. You cannot force me to use other scripts or discourage me from sharing fix with sample code especially when GeoIP is packaged wrong leaving bad code on the street on a much more grandiose scale than you can fathom. I was the first one to point out the problem with GeoIP here if you take the time to read the details. It was packaged wrong. Why not use the code from the guy who got it working? Use it on your DoD server and let me know what it does to it. =P If you have any players you will know where your traffic is coming from. Identified. There are more issues with GeoIP and this was not intended to be released as is. It was going to have the weather pushed to it also of each new connection IE traffic. The so-called 'Traffic', I am not the only one to call it that buddy. Wikiapedia has an entire page dedicated to it. The ID? Really? Okay. Thanks for helping me be patient and explain what this does if the name ambiguates it some how please suggest a new name now. I see it as unique and that was what I named it. It is actually called named.sma. Not to confuse you. Name like a name server, a DNS server, resolves the IP through name server say to alliedmods.net. Similarly TrafficID called name was like my name server for my GoldSource farm. I had alpha version name a b c d e was for element. Left pending. This stable version is D name D. named.sma. D is combo of the B and C version. C was for counter-strike. The GeoIP IP ID which is an abbreviation for identify. Identifies the connector by country, region, and city. Region is state for U.S. and region for everybody else so I just called it region. It is in your destiny to test the D for DoD. Please let me know if you do not see colored messages like on CS. If not I will tell you it is WW2.

https://en.wikipedia.org/wiki/Internet_traffic
Wow, what in the world is this nonsensical post? Your plugin does not log "internet traffic", it only logs the location from which a player is connecting based on their IP address (so not "traffic" and not an "id"). Also, the title of your thread doesn't exist in your post nor is it the name of your .sma file (which is named nonsensical). It's just confusing and should be reasonably consistent for people to even take you seriously.
__________________

Last edited by fysiks; 03-13-2019 at 22:40.
fysiks 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 16:47.


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