Ulysses Stuff > General Chat & Help and Support
Help with ULX 2.1 and ULib 1.1
Otacon:
I just downloaded ULib 1.1 and ULX 2.1 and I removed the old ULX files and put everything where it needs to be but there are problems. Problem 1: Admin config is not working, I went into users.ini and even had one generated because mine wasn't working. It still won't work. Problem 2: I had eSWEP and it isn't working. Problem 3: Every time I spawn an SWEP, my server crashes. I don't know how many of these are related to the upgrade, but any ideas would be helpful. :-\
spbogie.:
1) Please post your user.ini aswell as the output of "status" and "ulx who" in console.
2) eSWEP uses the old ULX admin system, and needs some modification to work correctly with ULX 2. I will try to explain these modifications later
3) Are you trying to spawn SWEPs through the normal SWEP menu or the eSWEP menu, and is it all SWEPs or just some?
P.S. @Megiddo I'm posting as guest because it won't let me post outsied of the Team section
Otacon:
--- Code: ---// 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:822712" "" "abcdefghijklmn" "c"
//Made by armpit's easy access generator
--- End code ---
STATUS
hostname: Otacons Playground of Destruction
version : 1.0.1.0/7 2894 insecure
udp/ip : 192.168.1.130:27015
map : freespace06_v2-1 at: 0 x, 0 y, 0 z
players : 1 (7 max)
# userid name uniqueid connected ping loss state adr
# 2 "Hal Emmerich" STEAM_0:1:8227125 01:29 38 0 active 192.168.1.1:27006
ULX WHO
] ulx who
userid name access
End of admin list
spbogie.:
You are missing the 5 at the end of your steam id in the users.ini
spbogie.:
To get eSWEP working all you should need to do is load ULib and change HookEvent at the end.
Add This to the start:
--- Code: ---assert( _file.Exists( "lua/ULib/init.lua" ), "eSWEP needs ULib to run!" )
_OpenScript( "ULib/init.lua" )
assert( ULib.VERSION >= 1.1, "eSWEP requires ULib version 1.1 or higher to run!" )
--- End code ---
And change this:
--- Code: ---HookEvent("eventPlayerInitialSpawn", eSWEP.send)
--- End code ---
to this:
--- Code: ---ULib.mainUcl:addAccessCallback(eSWEP.send)
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version