ULX

Author Topic: Users.ini  (Read 7155 times)

0 Members and 1 Guest are viewing this topic.

Offline Terminal58

  • Newbie
  • *
  • Posts: 41
  • Karma: 1
Users.ini
« on: September 05, 2006, 05:53:59 PM »
Sorry I just got the ULX 2 and I tried installing the admin things and so on and it doesnt recognize me as a admin.

Code: [Select]
// Users configuration file

// Line starting with // are comments

// Access flags:
// a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
// b - reservation (can join on reserved slots)
// c - kick access
// d - ban and unban access
// e - slay and slap access
// f - map access
// g - cvar access
// h - ent access (could crash the server!)
// i - misc chat access
// j - vote access
// k - prop access
// l - rcon access
// m - player control access (things that affect clients)
// n - menu access
// Other letters may be used for additional plugins (access flags are caps-sensitive).

// Account flags:
// a - this is a playername
// b - this is a clan tag (partial playername)
// c - this is a steamid
// d - this is an ip
// e - this is a steam login (the username they log into steam with)
// f - disconnect player on invalid password (gives them 30 seconds to enter one, by default)

// Password:
// When asked for the password, use "_pw <password>" in console

// Format of admin account:
// "<name|ip|steamid|clantag|steamlogin>" "<password>" "<access flags>" "<account flags>"

// Examples of admin accounts:
// "STEAM_0:0:123456" "" "abcdefghijklmnopqrstuv" "c"
// "123.45.67.89" "" "abcdefghijklmnopqrstuv" "d"
// "My Name" "my_password" "abcdefghijklmnopqrstuv" "a"
"STEAM_0:0:8430540" "" "abcdefghijklmnopqrstuz" "c"
My steam ID is STEAM_0:0:8430540

What am I doing wrong.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Users.ini
« Reply #1 on: September 05, 2006, 07:03:01 PM »
That should work.
If you do a "ulx who" in console, it doesn't show you?

Make sure your folders/files are...
gmod9/lua/ULIB/users.ini

gmod9/lua/init/ulx_init.lua
gmod9/lua/ULX/<rest of files>



"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Terminal58

  • Newbie
  • *
  • Posts: 41
  • Karma: 1
Re: Users.ini
« Reply #2 on: September 06, 2006, 02:03:18 PM »
That should work.
If you do a "ulx who" in console, it doesn't show you?

Make sure your folders/files are...
gmod9/lua/ULIB/users.ini

gmod9/lua/init/ulx_init.lua
gmod9/lua/ULX/<rest of files>

Checked and it all is there fine.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Users.ini
« Reply #3 on: September 06, 2006, 02:42:44 PM »
And what does "ulx who" show?
Experiencing God's grace one day at a time.

Offline Terminal58

  • Newbie
  • *
  • Posts: 41
  • Karma: 1
Re: Users.ini
« Reply #4 on: September 06, 2006, 02:52:08 PM »
Fixed it I had some functions in the way. ULX 1 got in the way of it I think.

Offline Mank

  • Full Member
  • ***
  • Posts: 209
  • Karma: 9
    • Ulysses Mod!
Re: Users.ini
« Reply #5 on: September 19, 2006, 01:21:38 PM »
Just thought I should say that steam ID isn't valid, you can't use status on a listen server you're hosting.
If you doubt your powers you bring powers to your doubts.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Users.ini
« Reply #6 on: September 19, 2006, 03:15:51 PM »
*cringe* ULX 1 _and_ ULX 2. Ouch.
Bad terminal, bad!

No status on listen server?
SURE you can. It just won't give any pertinent info regarding your steamid. :P

« Last Edit: September 19, 2006, 07:18:00 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Users.ini
« Reply #7 on: September 25, 2006, 11:06:59 PM »
I rewrote my ULX builder to work with Ulib tonight, if any one who has the same problem is reading this thread, give it a try and see if it helps.
(It won't fix it if you're info is wrong, but it will fix it if oyu're having syntax problems)

http://forums.ulyssesmod.net/index.php/topic,396.0.html


Offline Locou

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • Loctum.de
Re: Users.ini :(
« Reply #8 on: October 10, 2006, 11:19:42 AM »
I have a problem with the User.ini too.

That is my User.ini
Code: [Select]
// User configuration file

// Line starting with // are comments

// Access flags:
// a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
// b - reservation (can join on reserved slots)
// c - kick access
// d - ban and unban access
// e - slay and slap access
// f - map access
// g - cvar access
// h - ent access (could crash the server!)
// i - misc chat access
// j - vote access
// k - prop access
// l - rcon access
// m - player control access (things that affect clients)
// n - menu access
// Other letters may be used for additional plugins (access flags are caps-sensitive).

// Account flags:
// a - this is a playername
// b - this is a clan tag (partial playername)
// c - this is a steamid
// d - this is an ip
// e - this is a steam login (the username they log into steam with)
// f - disconnect player on invalid password. This MUST be used with another account flag. (It's the only flag that can be used with others)
//      (gives them 30 seconds to enter their pass, by default)

// Password:
// When asked for the password, use "_pw <password>" in console

// Format of admin account:
// "<name|ip|steamid|clantag|steamlogin>" "<password>" "<access flags>" "<account flags>"

// Examples of admin accounts:
// "STEAM_0:0:123456" "" "abcdefghijklmnopqrstuv" "c"
// "123.45.67.89" "" "abcdefghijklmnopqrstuv" "d"
// "My Name" "my_password" "abcdefghijklmnopqrstuv" "a"
// "MingeBag" "supah_pass" "abcdefghijklmnopqrstuv" "bf" // This will disconnect any mingebag who does not know the password.

"STEAM_0:1:9595628" "clock" "abcdefghijklmnopqrstuv" "c"

And if i type ulx who in console. It looks so:
Code: [Select]
] ulx who
userid   name   access
1   Locou   bcdefghijklmnopqrstuz
End of admin list
] ulx ban
You did not specify enough arguments for this command. Type 'ulx help' in console for help.

I can't use the ulx kick, ulx kickban or ulx ban command.
But i can use ulx god, ulx noclip ...

Full start up:
Code: [Select]
Game.dll loaded for "GMod 9.0.4"
GMod Folder: c:\programme\valve\steam\steamapps\sourcemods\gmod9
Processing Lua config file..
Finished Lua Config.
Creating Lua instance..
Lua Script: init/init.lua
Lua Script: init/BarrierInit.lua
Lua Script: init/EXTREME functions.lua

Host_Error: CVEngineServer::PrecacheModel: 'models/Gibs/Antlion_gib_medium_2.mdl' overflow, too many models


Host_Error: CVEngineServer::PrecacheModel: 'models/Gibs/Antlion_gib_small_3.mdl' overflow, too many models


Host_Error: CVEngineServer::PrecacheModel: 'models/Gibs/Antlion_gib_small_1.mdl' overflow, too many models


Host_Error: CVEngineServer::PrecacheModel: 'models/Gibs/HGIBS.mdl' overflow, too many models


Host_Error: CVEngineServer::PrecacheModel: 'models/Gibs/HGIBS_rib.mdl' overflow, too many models


Host_Error: CVEngineServer::PrecacheModel: 'models/Gibs/HGIBS_scapula.mdl' overflow, too many models


Host_Error: CVEngineServer::PrecacheModel: 'models/Gibs/HGIBS_spine.mdl' overflow, too many models


Host_Error: CVEngineServer::PrecacheModel: 'models/props/cs_italy/orangegib3.mdl' overflow, too many models

Lua Script: init/e_commands.lua
Lua Script: init/portal_core.lua
Lua Script: init/propprotector.lua
Lua Script: init/ropegun.lua
Lua Script: init/swep_menu.lua
///////////////////////////////
//      Ulysses Library      //
///////////////////////////////
// Loading...                //
//  defines.lua              //
//  misc.lua                 //
//  util.lua                 //
//  tables.lua               //
//  database.lua             //
//  ai.lua                   //
//  color.lua                //
//  concommand.lua           //
//  download.lua             //
//  entity.lua               //
//  list.lua                 //
//  menu.lua                 //
//  messages.lua             //
//  misc.lua                 //
//  phys.lua                 //
//  player.lua               //
//  say.lua                  //
//  ucl.lua                  //
//  ucl_public.lua           //
//  vector.lua               //
//  compat.lua               //
// Load Complete!            //
///////////////////////////////
Lua Script: init/ticker.lua
Lua Script: init/ulx_init.lua
///////////////////////////////
//            ULX            //
///////////////////////////////
// Loading...                //
//  base.lua                 //
//  util.lua                 //
//  fun.lua                  //
//  menus.lua                //
//  end.lua                  //
// Load Complete!            //
///////////////////////////////
Lua Script: init/vmfloader.lua
Line 3: <name> expected near '0'
LUA: Errors when running script 'vmfloader/admin.lua'
[VMFLoader] Loading package battery.vpk....
[VMFLoader] Loading package fireworks.vpk....
[VMFLoader] Loading package lasers.vpk....
[VMFLoader] Loading package npc.vpk....
[VMFLoader] Loading package traps.vpk....
[VMFLoader] Loading package vehicles.vpk....
[VMFLoader] Loading package weapons.vpk....
Line 56: attempt to index global 'Admin' (a nil value)
LUA: Errors when running script 'vmfloader/config.lua'
Lua Script: init/walljump.lua
Lua Script: init/zzpropprotector.lua
Lua created.
maxplayers set to 1
[ECS] - EThink function : 028EAA04. Frequency : 0.5
[ECS] - EThink function : 028EAFC8. Frequency : 0.5
[ECS] - eSwep : entmover ( e_commands/sweps/weapon_entmover.lua )
[ECS] - EThink function : 028EB7A8. Frequency : 0.25
[ECS] - EThink function : 028EBC94. Frequency : 0.25
[ECS] - EThink function : 028EBD00. Frequency : 0.25
[ECS] - eSwep : selectgun ( e_commands/sweps/weapon_select.lua )
[ECS] - EThink function : 028EC180. Frequency : 0.5
[ECS] - EThink function : 028EC528. Frequency : 1
[ECS] - EThink function : 028EC4BC. Frequency : 0.75
Heap: 256.00 Mb
Parsed 23 text messages
execing config.cfg
Can't use cheat cvar cam_command in multiplayer, unless the server has sv_cheats set to 1.
1 CPU, Frequency: 2.2 Ghz,  Features: AuthenticAMD SSE MMX 3DNow RDTSC CMOV FCMOV
GetAllManifestFiles:  Unable to load maplist.txt
execing valve.rc
execing autoexec.cfg
Banning all bitches...
Usage:  addip < minutes > < ipaddress >
Use 0 minutes for permanent
Usage:  addip < minutes > < ipaddress >
Use 0 minutes for permanent
...Done
Banning all imposters...
...Done
couldn't exec HuntsMod/picture
CModelLoader::Map_IsValid:  No such map 'none'
map load failed: none not found or invalid
GMod Folder: c:\programme\valve\steam\steamapps\sourcemods\gmod9
Loading map 'gm_construct'..
gm_sv_allweapons 1
gm_sv_allowignite 0
gm_sv_noclip 0
gm_sv_playerdamage 1
gm_sv_pvpdamage 1
gm_sv_teamdamage 1
gm_sv_allownpc 1
gm_sv_allowspawning 1
gm_sv_allowmultigun 1
gm_sv_allowphysgun 1
hostname "!!Locous Build Server!!"
maxplayers "3"
sv_password "dd"
gm_sv_clientlimit_ragdolls "10"
gm_sv_clientlimit_thrusters "10"
gm_sv_clientlimit_props "300"
gm_sv_clientlimit_balloons "10"
gm_sv_clientlimit_effects "10"
gm_sv_clientlimit_sprites "10"
gm_sv_clientlimit_emitters "10"
gm_sv_clientlimit_wheels "100"
gm_sv_clientlimit_npcs "1"
gm_sv_clientlimit_vehicles "10"
maxplayers set to 3
maxplayers set to 3
Network: IP 192.168.178.21, mode MP, dedicated No, ports 27015 SV / 27005 CL
execing game.cfg
Spawn Server gm_construct
Begin loading faces (loads materials)
End loading faces (loads materials)
GMod Folder: c:\programme\valve\steam\steamapps\sourcemods\gmod9
Creating Lua instance..
Lua Script: init/init.lua
Lua Script: init/BarrierInit.lua
Lua Script: init/EXTREME functions.lua
Late precache of models/Gibs/Antlion_gib_medium_2.mdl
Late precache of models/Gibs/Antlion_gib_small_3.mdl
Late precache of models/Gibs/Antlion_gib_small_1.mdl
Late precache of models/Gibs/HGIBS.mdl
Late precache of models/Gibs/HGIBS_rib.mdl
Late precache of models/Gibs/HGIBS_scapula.mdl
Late precache of models/Gibs/HGIBS_spine.mdl
Late precache of models/props/cs_italy/orangegib3.mdl
Lua Script: init/e_commands.lua
Lua Script: init/portal_core.lua
Lua Script: init/propprotector.lua
Lua Script: init/ropegun.lua
Lua Script: init/swep_menu.lua
///////////////////////////////
//      Ulysses Library      //
///////////////////////////////
// Loading...                //
//  defines.lua              //
//  misc.lua                 //
//  util.lua                 //
//  tables.lua               //
//  database.lua             //
//  ai.lua                   //
//  color.lua                //
//  concommand.lua           //
//  download.lua             //
//  entity.lua               //
//  list.lua                 //
//  menu.lua                 //
//  messages.lua             //
//  misc.lua                 //
//  phys.lua                 //
//  player.lua               //
//  say.lua                  //
//  ucl.lua                  //
//  ucl_public.lua           //
//  vector.lua               //
//  compat.lua               //
// Load Complete!            //
///////////////////////////////
Lua Script: init/ticker.lua
Lua Script: init/ulx_init.lua
///////////////////////////////
//            ULX            //
///////////////////////////////
// Loading...                //
//  base.lua                 //
//  util.lua                 //
//  fun.lua                  //
//  menus.lua                //
//  end.lua                  //
// Load Complete!            //
///////////////////////////////
Lua Script: init/vmfloader.lua
Lua Error: Line 3: <name> expected near '0'
LUA: Errors when running script 'vmfloader/admin.lua'
[VMFLoader] Loading package battery.vpk....
[VMFLoader] Loading package fireworks.vpk....
[VMFLoader] Loading package lasers.vpk....
[VMFLoader] Loading package npc.vpk....
[VMFLoader] Loading package traps.vpk....
[VMFLoader] Loading package vehicles.vpk....
[VMFLoader] Loading package weapons.vpk....
Lua Error: Line 56: attempt to index global 'Admin' (a nil value)
LUA: Errors when running script 'vmfloader/config.lua'
Lua Script: init/walljump.lua
Lua Script: init/zzpropprotector.lua
Lua created.
[ECS] - EThink function : 028F0038. Frequency : 0.5
[ECS] - EThink function : 028F1574. Frequency : 0.5
[ECS] - eSwep : entmover ( e_commands/sweps/weapon_entmover.lua )
[ECS] - EThink function : 028F37C4. Frequency : 0.25
[ECS] - EThink function : 028F3E84. Frequency : 0.25
[ECS] - EThink function : 028F3EF0. Frequency : 0.25
[ECS] - eSwep : selectgun ( e_commands/sweps/weapon_select.lua )
[ECS] - EThink function : 028EFB70. Frequency : 0.5
[ECS] - EThink function : 028F2000. Frequency : 1
[ECS] - EThink function : 028F218C. Frequency : 0.75
execing skill.cfg
Unknown command "sk_player_head"
Unknown command "sk_player_chest"
Unknown command "sk_player_stomach"
Unknown command "sk_player_arm"
Unknown command "sk_player_leg"
Executing listen server config file
Setting MPRules from console variables..
The Navigation Mesh was built using a different version of this map.
3 player server started
couldn't exec listenserver.cfg
Client Locou connected (127.0.0.1:27005).
Connected to 127.0.0.1:27015
Adding master server 207.173.177.11:27011
Adding master server 69.28.151.162:27011
Connection to Steam servers successful.
   VAC secure mode is activated.

GMod 9.0.4
Map: gm_construct
Players:  1 / 3
Build 2707
Server Number 1
Initializing renderer...
Populating Spawn List............................. Done!
[PROP] Locou (STEAM_0:1:9595628) initialized
[LUA] Error calling 'DoEventHook' : 'Line 16: attempt to concatenate local 'simpleName' (a nil value)'
Late precache of models/player/police.mdl
      [PROP] Locou (STEAM_0:1:9595628) initialized
Locou has connected
[UCL] Access set.
Welcome to !!Locous Build Server!!! We're playing gm_construct.
Late precache of models/props_junk/sawblade001a.mdl
] ulx who
userid   name   access
1   Locou   bcdefghijklmnopqrstuz
End of admin list
] ulx ban
You did not specify enough arguments for this command. Type 'ulx help' in console for help.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: Users.ini
« Reply #9 on: October 10, 2006, 12:33:16 PM »
You need to pass arguments to those commands, see "ulx help" for more help.
Experiencing God's grace one day at a time.