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

Solved Text file organization


Post New Thread Reply   
 
Thread Tools Display Modes
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-11-2020 , 12:34   Re: Text file organization
Reply With Quote #11

Ok, try this:
PHP Code:
//Remove "- 1"
if ( !bDone && !bInGroup && equaliszBuffer szAdminGroup iLineLen ) )

//Change ^n to ^r
else if ( !bDone && bInGroup && ( szBuffer] == '^n' ) ) 
__________________
Bugsy is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 04-11-2020 , 12:43   Re: Text file organization
Reply With Quote #12

Quote:
Originally Posted by Bugsy View Post
Ok, try this:
PHP Code:
//Remove "- 1"
if ( !bDone && !bInGroup && equaliszBuffer szAdminGroup iLineLen ) )

//Change ^n to ^r
else if ( !bDone && bInGroup && ( szBuffer] == '^n' ) ) 
It is worth informing, with this last change neither the test windows server works.

PHP Code:
L 04/11/2020 13:41:24Line[0]=91
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=13
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=13
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=13
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=91
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=13
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=91
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=13
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=91
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=13
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=91
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=34
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=13
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=91
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=13
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=13
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=91
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=13
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=13
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=13
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=13
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=13
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=13
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=47
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=47
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=47
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=47
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=47
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=47
L 04
/11/2020 13:41:24Writing unchanged line
L 04
/11/2020 13:41:24Line[0]=47
L 04
/11/2020 13:41:24Writing unchanged line 
__________________


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/

Last edited by iceeedr; 04-11-2020 at 12:45.
iceeedr is offline
Send a message via Skype™ to iceeedr
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-11-2020 , 12:50   Re: Text file organization
Reply With Quote #13

Yeah, its not expected to work for both until we figure out where the issue is.

Try this code: https://forums.alliedmods.net/showpo...76&postcount=9
__________________
Bugsy is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 04-11-2020 , 13:00   Re: Text file organization
Reply With Quote #14

Quote:
Originally Posted by Bugsy View Post
Yeah, its not expected to work for both until we figure out where the issue is.

Try this code: https://forums.alliedmods.net/showpo...76&postcount=9
On the test server (windows) it worked perfectly.

PHP Code:
L 04/11/2020 13:59:45Log file started (file "cstrike/addons/amxmodx/logs/AddAdmin") (game "cstrike") (amx "1.10.0.5392")
L 04/11/2020 13:59:45Line=[[Dono] ]
L 04/11/2020 13:59:45Line=["STEAM_0:1:514258254" "" "abcdefghijklmuv" "ce"Henrick ]
L 04/11/2020 13:59:45Line=["STEAM_0:1:56888062" "" "abcdefghijklmuv" "ce"iceeedr ]
L 04/11/2020 13:59:45Line=[ ]
L 04/11/2020 13:59:45Line=[ ]
L 04/11/2020 13:59:45Line=[ ]
L 04/11/2020 13:59:45Line=[[Sub Dono] ]
L 04/11/2020 13:59:45Line=["STEAM_0:1:474638501" "" "bcdefghijklnuv" "ce"Amandinha ]
L 04/11/2020 13:59:45Line=["STEAM_0:0:462962170" "" "bcdefghijklnuv" "ce"Selva ]
L 04/11/2020 13:59:45Line=[ ]
L 04/11/2020 13:59:45Line=[[Supremo] ]
L 04/11/2020 13:59:45Line=["STEAM_0:0:523245318" "" "bcdefghijklouv" "ce"Brutus ]
L 04/11/2020 13:59:45Line=["STEAM_0:0:16956043" "" "bcdefghijklouv" "ce"Scrazy ]
L 04/11/2020 13:59:45Line=["STEAM_0:1:455997575" "" "bcdefghijklouv" "ce"Leozin ]
L 04/11/2020 13:59:45Line=["STEAM_0:1:164412541" "" "bcdefghijklouv" "ce"lks, ]
L 04/11/2020 13:59:45Line=["STEAM_0:1:178147495" "" "bcdefghijklouv" "ce"; Empty ]
L 04/11/2020 13:59:45Line=["AGGRESS1VE; 54R63N70" "54874" "bcdefghijklouv" "ba"Sargento ]
L 04/11/2020 13:59:45Line=["STEAM_0:0:193663400" "" "bcdefghijklouv" "ce"; Empty; FFZK ]
L 04/11/2020 13:59:45Line=["STEAM_0:1:164412541" "" "bcdefghijklouv" "ce"LKS ]
L 04/11/2020 13:59:45Line=["STEAM_0:0:446810933" "" "bcdefghijklouv" "ce"Deh ]
L 04/11/2020 13:59:45Line=["STEAM_0:0:65396905" "" "bcdefghijklouv" "ce"Frango ]
L 04/11/2020 13:59:45Line=["STEAM_0:0:67806213" "" "bcdefghijklouv" "ce"DAKOTA ]
L 04/11/2020 13:59:45Line=[ ]
L 04/11/2020 13:59:45Line=[[Master] ]
L 04/11/2020 13:59:45Line=["STEAM_0:1:167246413" "" "bcdefghijklpuv" "ce"KINHO ]
L 04/11/2020 13:59:45Line=[ ]
L 04/11/2020 13:59:45Line=[[Admin] ]
L 04/11/2020 13:59:45Line=["AGGRESS1VE; Luka" "54154" "bcdefghijklquv" "ba" ]
L 04/11/2020 13:59:45Line=["STEAM_0:1:167246413" "" "bcdefghijklquv" "ce"Lunatic ]
L 04/11/2020 13:59:45Line=[ ]
L 04/11/2020 13:59:45Line=[[Vip] ]
L 04/11/2020 13:59:45Line=[ ]
L 04/11/2020 13:59:45Line=[ ]
L 04/11/2020 13:59:45Line=[[Girl] ]
L 04/11/2020 13:59:45Line=[ ]
L 04/11/2020 13:59:45Line=[ ]
L 04/11/2020 13:59:45Line=[ ]
L 04/11/2020 13:59:45Line=[ ]
L 04/11/2020 13:59:45Line=[ ]
L 04/11/2020 13:59:45Line=[ ]
L 04/11/2020 13:59:45Line=[//[Dono] [m] [bcdefghijklmuv] ]
L 04/11/2020 13:59:45Line=[//[Sub Dono] [n] [bcdefghijklnuv] ]
L 04/11/2020 13:59:45Line=[//[Supremo] [o] [bcdefghijklouv] ]
L 04/11/2020 13:59:45Line=[//[Master] [p] [bcdefghijklpuv] ]
L 04/11/2020 13:59:45Line=[//[Admin] [q] [bcdefghijklquv] ]
L 04/11/2020 13:59:45Line=[//[Vip] [r] [bq] ]
L 04/11/2020 13:59:45Line=[//[Girl] [s] [bcdefghijklsuv]] 
Windows log

PHP Code:
L 04/11/2020 14:04:16Log file started (file "cstrike\addons\amxmodx\logs\AddAdmin") (game "cstrike") (amx "1.9.0.5241")
L 04/11/2020 14:04:16Line=[[Dono]
]
L 04/11/2020 14:04:16Line=["STEAM_0:1:56888062" "" "abcdefghijklmu" "ce" ;iceeedR -Live
]
L 04/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[[Sub Dono]
]
L 04/11/2020 14:04:16In Group true
L 04
/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Adding new user
L 04
/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[[Supremo]
]
L 04/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[[Master]
]
L 04/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[[Admin]
]
L 04/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[[Vip]
]
L 04/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[[Girl]
]
L 04/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[
]
L 04/11/2020 14:04:16Line=[//[Dono] [m] [bcdefghijklmuv]
]
L 04/11/2020 14:04:16Line=[//[Sub Dono] [n] [bcdefghijklnuv]
]
L 04/11/2020 14:04:16Line=[//[Supremo] [o] [bcdefghijklouv]
]
L 04/11/2020 14:04:16Line=[//[Master] [p] [bcdefghijklpuv]
]
L 04/11/2020 14:04:16Line=[//[Admin] [q] [bcdefghijklquv]
]
L 04/11/2020 14:04:16Line=[//[Vip] [r] [bq]
]
L 04/11/2020 14:04:16Line=[//[Girl] [s] [bcdefghijklsuv]] 
__________________


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/

Last edited by iceeedr; 04-11-2020 at 13:05. Reason: added windows log
iceeedr is offline
Send a message via Skype™ to iceeedr
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-11-2020 , 13:06   Re: Text file organization
Reply With Quote #15

Make sure in your admin file there is not a space after the group name "[Example]", not "[Example] ". If you have no space on the end, try replacing this line

PHP Code:
if ( !bDone && !bInGroup && ( equaliszBuffer szAdminGroup iLineLen ) || equaliszBuffer szAdminGroup iLineLen ) || equaliszBuffer szAdminGroup ) ) ) 
__________________

Last edited by Bugsy; 04-11-2020 at 13:07.
Bugsy is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 04-11-2020 , 13:15   Re: Text file organization
Reply With Quote #16

Quote:
Originally Posted by Bugsy View Post
Make sure in your admin file there is not a space after the group name "[Example]", not "[Example] ". If you have no space on the end, try replacing this line

PHP Code:
if ( !bDone && !bInGroup && ( equaliszBuffer szAdminGroup iLineLen ) || equaliszBuffer szAdminGroup iLineLen ) || equaliszBuffer szAdminGroup ) ) ) 
On windows it worked perfectly, on linux it detected that the player is part of a group, but added it to the end of the file. And yes, I checked and there are no spaces in users.ini, the same file was used on the 2 servers for testing.

Isn't that too strange? Shouldn't amxx handle the 2 platforms in the same way?

Code:
L 04/11/2020 - 14:13:32: Log file started (file "cstrike/addons/amxmodx/logs/AddAdmin") (game "cstrike") (amx "1.10.0.5392")
L 04/11/2020 - 14:13:32: Line=[[Dono]

]
L 04/11/2020 - 14:13:32: Line=["STEAM_0:1:514258254" "" "abcdefghijklmuv" "ce"; Henrick

]
L 04/11/2020 - 14:13:32: Line=["STEAM_0:1:56888062" "" "abcdefghijklmuv" "ce"; iceeedr

]
L 04/11/2020 - 14:13:32: Line=[

]
L 04/11/2020 - 14:13:32: Line=[

]
L 04/11/2020 - 14:13:32: Line=[

]
L 04/11/2020 - 14:13:32: Line=[[Sub Dono]

]
L 04/11/2020 - 14:13:32: Line=["STEAM_0:1:474638501" "" "bcdefghijklnuv" "ce"; Amandinha

]
L 04/11/2020 - 14:13:32: Line=["STEAM_0:0:462962170" "" "bcdefghijklnuv" "ce"; Selva

]
L 04/11/2020 - 14:13:32: Line=[

]
L 04/11/2020 - 14:13:32: Line=[[Supremo]

]
L 04/11/2020 - 14:13:32: Line=["STEAM_0:0:523245318" "" "bcdefghijklouv" "ce"; Brutus

]
L 04/11/2020 - 14:13:32: Line=["STEAM_0:0:16956043" "" "bcdefghijklouv" "ce"; Scrazy

]
L 04/11/2020 - 14:13:32: Line=["STEAM_0:1:455997575" "" "bcdefghijklouv" "ce"; Leozin

]
L 04/11/2020 - 14:13:32: Line=["STEAM_0:1:164412541" "" "bcdefghijklouv" "ce"; lks,

]
L 04/11/2020 - 14:13:32: Line=["STEAM_0:1:178147495" "" "bcdefghijklouv" "ce"; Empty

]
L 04/11/2020 - 14:13:32: Line=["AGGRESS1VE; 54R63N70" "54874" "bcdefghijklouv" "ba"; Sargento

]
L 04/11/2020 - 14:13:32: Line=["STEAM_0:0:193663400" "" "bcdefghijklouv" "ce"; Empty; FFZK

]
L 04/11/2020 - 14:13:32: Line=["STEAM_0:1:164412541" "" "bcdefghijklouv" "ce"; LKS

]
L 04/11/2020 - 14:13:32: Line=["STEAM_0:0:446810933" "" "bcdefghijklouv" "ce"; Deh

]
L 04/11/2020 - 14:13:32: Line=["STEAM_0:0:65396905" "" "bcdefghijklouv" "ce"; Frango

]
L 04/11/2020 - 14:13:32: Line=["STEAM_0:0:67806213" "" "bcdefghijklouv" "ce"; DAKOTA

]
L 04/11/2020 - 14:13:32: Line=[

]
L 04/11/2020 - 14:13:32: Line=[[Master]

]
L 04/11/2020 - 14:13:32: Line=["STEAM_0:1:167246413" "" "bcdefghijklpuv" "ce"; KINHO

]
L 04/11/2020 - 14:13:32: Line=[

]
L 04/11/2020 - 14:13:32: Line=[[Admin]

]
L 04/11/2020 - 14:13:32: Line=["AGGRESS1VE; Luka" "54154" "bcdefghijklquv" "ba"

]
L 04/11/2020 - 14:13:32: Line=["STEAM_0:1:167246413" "" "bcdefghijklquv" "ce"; Lunatic

]
L 04/11/2020 - 14:13:32: Line=[

]
L 04/11/2020 - 14:13:32: Line=[[Vip]

]
L 04/11/2020 - 14:13:32: In Group = true
L 04/11/2020 - 14:13:32: Line=[

]
L 04/11/2020 - 14:13:32: Line=[

]
L 04/11/2020 - 14:13:32: Line=[[Girl]

]
L 04/11/2020 - 14:13:32: Line=[

]
L 04/11/2020 - 14:13:32: Line=[

]
L 04/11/2020 - 14:13:32: Line=[

]
L 04/11/2020 - 14:13:32: Line=[

]
L 04/11/2020 - 14:13:32: Line=[

]
L 04/11/2020 - 14:13:32: Line=[

]
L 04/11/2020 - 14:13:32: Line=[//[Dono] [m] [bcdefghijklmuv]

]
L 04/11/2020 - 14:13:32: Line=[//[Sub Dono] [n] [bcdefghijklnuv]

]
L 04/11/2020 - 14:13:32: Line=[//[Supremo] [o] [bcdefghijklouv]

]
L 04/11/2020 - 14:13:32: Line=[//[Master] [p] [bcdefghijklpuv]

]
L 04/11/2020 - 14:13:32: Line=[//[Admin] [q] [bcdefghijklquv]

]
L 04/11/2020 - 14:13:32: Line=[//[Vip] [r] [bq]

]
L 04/11/2020 - 14:13:32: Line=[//[Girl] [s] [bcdefghijklsuv]]
L 04/11/2020 - 14:13:32: Adding user to end of file
__________________


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/

Last edited by iceeedr; 04-11-2020 at 13:16.
iceeedr is offline
Send a message via Skype™ to iceeedr
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-11-2020 , 13:18   Re: Text file organization
Reply With Quote #17

Ok cool, so keep that code, and replace this line

PHP Code:
else if ( !bDone && bInGroup && ( szBuffer] == '^n' ) ) 
to
PHP Code:
else if ( !bDone && bInGroup && ( szBuffer] == '^r' ) ) 
__________________
Bugsy is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 04-11-2020 , 13:23   Re: Text file organization
Reply With Quote #18

Quote:
Originally Posted by Bugsy View Post
Ok cool, so keep that code, and replace this line

PHP Code:
else if ( !bDone && bInGroup && ( szBuffer] == '^n' ) ) 
to
PHP Code:
else if ( !bDone && bInGroup && ( szBuffer] == '^r' ) ) 
On the linux server, it worked perfectly.

In windows the problem of detecting happened, but adding to the end of the file, follows log.

PHP Code:
L 04/11/2020 14:19:20Log file started (file "cstrike\addons\amxmodx\logs\AddAdmin") (game "cstrike") (amx "1.9.0.5241")
L 04/11/2020 14:19:20Line=[[Dono]
]
L 04/11/2020 14:19:20Line=["STEAM_0:1:56888062" "" "abcdefghijklmu" "ce" ;iceeedR -Live
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[[Sub Dono]
]
L 04/11/2020 14:19:20In Group true
L 04
/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[[Supremo]
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[[Master]
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[[Admin]
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[[Vip]
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[[Girl]
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[
]
L 04/11/2020 14:19:20Line=[//[Dono] [m] [bcdefghijklmuv]
]
L 04/11/2020 14:19:20Line=[//[Sub Dono] [n] [bcdefghijklnuv]
]
L 04/11/2020 14:19:20Line=[//[Supremo] [o] [bcdefghijklouv]
]
L 04/11/2020 14:19:20Line=[//[Master] [p] [bcdefghijklpuv]
]
L 04/11/2020 14:19:20Line=[//[Admin] [q] [bcdefghijklquv]
]
L 04/11/2020 14:19:20Line=[//[Vip] [r] [bq]
]
L 04/11/2020 14:19:20Line=[//[Girl] [s] [bcdefghijklsuv]]
L 04/11/2020 14:19:20Adding user to end of file 
__________________


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
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-11-2020 , 13:29   Re: Text file organization
Reply With Quote #19

Ok, yeah so I will need to combine codes so it works on both.
__________________
Bugsy is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-11-2020 , 13:30   Re: Text file organization
Reply With Quote #20

Do me a favor, figure out which equali() works, -2, -1, or none. I only care about linux for now, we already know how windows works so no need to keep re-testing windows.

PHP Code:
if ( !bDone && !bInGroup && equaliszBuffer szAdminGroup iLineLen ) ) 

if ( !
bDone && !bInGroup && equaliszBuffer szAdminGroup iLineLen ) ) 

if ( !
bDone && !bInGroup && equaliszBuffer szAdminGroup ) ) 
__________________

Last edited by Bugsy; 04-11-2020 at 13:32.
Bugsy 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 19:30.


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