Raised This Month: $51 Target: $400
 12% 

AMX Mod X 1.8.1 Released


Post New Thread Closed Thread   
 
Thread Tools Display Modes
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 08-28-2008 , 08:37   Re: AMX Mod X 1.8.1 Released
#61

May be, u dont understand, ill show u an example why i dont need that dot.
Im writing now big anticheat plugin and i have cvars of bantime.
When im using this
server_cmd("amx_ban %.0f #%d Cheat", bantime, get_user_userid(id))
i have error console command:
amx_ban 7200. #123 Cheat
and it doesnt make real ban. Ive tried to replace older amxmodx_mm (1.8.0), and the problem disappeared with normal command string
amx_ban 7200 #123 Cheat
__________________
draft is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-28-2008 , 08:45   Re: AMX Mod X 1.8.1 Released
#62

Submit a bug report then. This isn't the thread to report bugs or ask for support.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-28-2008 , 08:55   Re: AMX Mod X 1.8.1 Released
#63

Or use an integer...
Alka is offline
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 08-28-2008 , 09:27   Re: AMX Mod X 1.8.1 Released
#64

Quote:
Originally Posted by Alka View Post
Or use an integer...
Exactly. That's why I don't view it as a bug, he's warping the use of a float.
__________________
Brad is offline
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 08-28-2008 , 09:57   Re: AMX Mod X 1.8.1 Released
#65

Quote:
Originally Posted by Alka View Post
Or use an integer...
Impossible. In my situation i need float, because i have to get bantime in days, not only in minutes
(bantime / 1440).
I can report it as a bug if u give me a link of what to do
__________________
draft is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-28-2008 , 10:05   Re: AMX Mod X 1.8.1 Released
#66

Instead of working with days as default, to have 0.002 days for 20 min or w/e(just an e.g) , work with seconds or minutes. As for reporting bug -> http://bugs.alliedmods.net/index.php?project=2
Alka is offline
draft
Senior Member
Join Date: Jul 2007
Location: Russia, Saint-Petersburg
Old 08-28-2008 , 10:15   Re: AMX Mod X 1.8.1 Released
#67

Quote:
Originally Posted by Alka View Post
Instead of working with days as default, to have 0.002 days for 20 min or w/e(just an e.g) , work with seconds or minutes. As for reporting bug -> http://bugs.alliedmods.net/index.php?project=2
Im working with minutes as default (read attentivily), that are set by cvar. But when the ban is inserted i show hud message for all players with bantime in days (not with minutes, cause it is a little bit stupid, yep?)
__________________
draft is offline
Prajch
Senior Member
Join Date: Dec 2007
Location: anger++
Old 08-28-2008 , 11:04   Re: AMX Mod X 1.8.1 Released
#68

Maybe you could do something like bantime / 1440 to get days rounded down, and then bantime % 1440 to get the additional minutes? I guess you could do ((bantime % 1440) / 60) if you wanted the hours instead.
Prajch is offline
WcK | Kyuubi
Member
Join Date: Aug 2008
Location: Venezuela
Old 08-29-2008 , 13:49   Re: AMX Mod X 1.8.1 Released
#69

amxmodx gives me an error about microsoft visual C++ runtime library why is this?
__________________

WcK | Kyuubi is offline
Send a message via MSN to WcK | Kyuubi Send a message via Skype™ to WcK | Kyuubi
Timpan
Junior Member
Join Date: Dec 2007
Location: Oskarshamn/Kalmar/Sweden
Old 08-31-2008 , 17:19   Re: AMX Mod X 1.8.1 Released
#70

Quote:
Originally Posted by kirino View Post
I got a problem after i update the AMX Mod X 1.8.1.

[IMG]http://img515.**************/img515/3294/hlnt2.jpg[/IMG]

This is the problem i get after i update. Did the latest amxxmodx can support hlguard ? Any idea abt this? >.<"

You should write to Reallity HLGuard about that or see in there forum about that problem.. I know you need i new dll-file about amxmodx_mm.dll from Reallity.. Because i had that problem also with version 1.8.0 in amx version..
__________________
Some kinds of cheat contains dangerous malware !
Timpan is offline
Closed Thread



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 10:19.


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