Raised This Month: $ Target: $400
 0% 

Problem with compilator


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GwynBleidD
Junior Member
Join Date: Feb 2009
Old 02-11-2009 , 13:47   Problem with compilator
Reply With Quote #1

I don't know is that correct sub-forum.

I tried to compile remake of the amxbans (i added unban by bid, kick reasons etc.). In first try the compiler reports me Errors from part of code that i didn't edit (I'm shure that original plugin is free of bugs), so i try to reinstall amxmodx compiler. When i done it i tried to compile again and the compiler blowed out. I killed the process of the compiler and try again with the same result.
GwynBleidD is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-11-2009 , 14:15   Re: Problem with compilator
Reply With Quote #2

Maybe should you attach your modified plugin here.
Arkshine is offline
GwynBleidD
Junior Member
Join Date: Feb 2009
Old 02-12-2009 , 11:23   Re: Problem with compilator
Reply With Quote #3

I prefer to not attach it here, i can send you it by e-mail.
GwynBleidD is offline
GwynBleidD
Junior Member
Join Date: Feb 2009
Old 02-26-2009 , 16:58   Re: Problem with compilator
Reply With Quote #4

I decided to attach the source, cuz noone helps me :/
Attached Files
File Type: zip pgcbans.zip (48.6 KB, 80 views)
GwynBleidD is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-26-2009 , 19:29   Re: Problem with compilator
Reply With Quote #5

cmdUnban.inl ; line 160 ; your line is too long.

By the way, I don't want to flame but not cool to get rid of the original plugin's author...
Arkshine is offline
Kupo
New Member
Join Date: Feb 2009
Old 02-27-2009 , 01:13   Re: Problem with compilator
Reply With Quote #6

No, no, no. We won't get rid of oryginal author. This change was because we are afraid copy our code before we will make whole plugin.

So don't be angry

(What should we do to make line shorter, this is the code for mysql)

Tnx 4 help

Last edited by Kupo; 02-27-2009 at 01:17.
Kupo is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-27-2009 , 05:45   Re: Problem with compilator
Reply With Quote #7

Use \

example :

Code:
format("INSERT INTO `%s` (player_id,player_ip,player_nick,admin_id,admin_nick,ban_type,ban_reason,ban_created,ban_length,server_ip,server_name,unban_created,unban_reason,unban_admin_nick, player_cfg_id) \ VALUES('%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%i','UnBanned in Game','%s %s','%s')", \ 511, string,tbl_banhist,g_unban_player_steamid,player_ip,g_player_nick,g_admin_steamid,admin_nick,ban_type,ban_reason,ban_created,ban_length,server_ip,server_name,unban_created, g_unban_admin_nick, unban_admin_steamid, player_cfg_id)

It should work.
Arkshine is offline
GwynBleidD
Junior Member
Join Date: Feb 2009
Old 02-27-2009 , 09:27   Re: Problem with compilator
Reply With Quote #8

Ok thanks a lot, its finally compiled. I would give you karma but i cant
GwynBleidD is offline
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 -4. The time now is 17:02.


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