Added a new character menu.
Features:
- New, sleek design.
- No more issue with gender causing layout problems.
- Easier to see creation form.
- You can now hold down the +/- buttons rather than spam clicking.
- Less delayed sending of character creation info.
- Minor fixes with notification panel.
- Extra translations for the menu.
- Fix with map scene sometimes not working.
Have a nice day.
Clicking "Return" inside the Character menu gives you no buttons, and the menu isn't removable (rejoin to fix) afterwards. (Intermittent)
[url]http://puu.sh/9tRYp/5327dd7b16.png[/url]
Secondly, it seems to load the wrong character from the one you expect.
Thirdly the "Choose" button, after selecting an initial character seems to work intermittently too.
I am reinstalling to make sure it's not an installation issue.
[editline]15th June 2014[/editline]
Fixed by wiping Database, shit got corrupt.
Fixed issue with return button, try updating.
Not wanting to take the conversation out of topic but who is this guy making advertisement videos for addons/gamemodes?
This guy
[media]http://www.youtube.com/watch?v=GhTkx7LyjAY[/media]
The models seem to do some weird pose in the menu like this:
[t]http://i.imgur.com/KjdXhVE.png[/t]
On a side note we managed to fix all t-posing models in our HL2 RP server. Make sure you just delete any animation plugins you might have installed. That's why some models were t-posing before.
EDIT: One other thing, our server seems to keep restoring a cached character each time I try to load a new one. It's kind of annoying.
It seems like it's not saving any characters anymore.
[t]http://i.imgur.com/gnzpQNg.png[/t]
This is what happens every time I switch characters. It reverts to some cached copy of the character.
More screenies of the changing characters issue:
[t]http://i.imgur.com/r6MQnfL.png[/t]
We don't have any "John Doe" characters.
[t]http://i.imgur.com/Y7jx2fl.png[/t]
This only happened after updating the menu.
Tested this again, I have an actual lua error for the new menu this time.
[t]http://i.imgur.com/jTvhxCm.png[/t]
The leg problem is fixed. but--- eh.. let me look around that error.
That error occurs only when loading nil character data. character data is still exists. but, it's just empty table.
can you add PrintTable(client.character) in line 160 in gamemode/core/sv_hooks.lua and give me the result of it?
nvm, I'm getting that error.
[editline]17th June 2014[/editline]
somehow database query is not working properly.
[editline]17th June 2014[/editline]
It's kinda really annoying. I can see all characters in the menu but the query returns only 1 character.
The character who has index 1. Even with the condition "steamid = " .. player:SteamID64()
[editline]17th June 2014[/editline]
k. fixed. almost done.
[editline]17th June 2014[/editline]
Fixed. Check the git now.
[editline]17th June 2014[/editline]
still fixing...
[editline]17th June 2014[/editline]
it seems it's done.
Thanks for the fix!
Another question I have is that whenever I try to make a weapon for Nutscript, I can get the weapon working but I've noticed that every time we unequip the weapon in the Nutscript inventory then re-equip it adds more ammo to what I already have for that weapon, so it's really easy for players to exploit that and keep giving themselves ammo. Is that something to do with the weapons code, or is there something that I can do to disable that sort of thing? The weapons we're trying to use are FAS Alpha Sweps.
I really want to know, because it's essentially impossible for us to make weapons that aren't melees because of this. :(
this might work for disabling FA:S 2 weapons are giving extra ammo to the players.
[lua]
for k, v in ipairs(weapons.GetList()) do
if v.Classname then
local weptbl = weapons.GetStored( v.Classname )
if weptbl and weptbl.IsFAS2Weapon then
weptbl.ExtraMags = 0
end
end
end
[/lua]
Quick snippet. Not tested.
but I can sure it will work well since it's just real simple code.
[QUOTE=rebel1324;45127876]this might work for disabling FA:S 2 weapons are giving extra ammo to the players.
[lua]
for k, v in ipairs(weapons.GetList()) do
if v.Classname then
local weptbl = weapons.GetStored( v.Classname )
if weptbl and weptbl.IsFAS2Weapon then
weptbl.ExtraMags = 0
end
end
end
[/lua]
Quick snippet. Not tested.
but I can sure it will work well since it's just real simple code.[/QUOTE]
I'll give it a shot, where do I put this one?
[QUOTE=Boom Rainbow;45128016]I'll give it a shot, where do I put this one?[/QUOTE]
in any serverside lua.
Tried it in sv_hooks.lua in HL2 RP, not working so far. If you ever did want to come up with something for me though, I'd love it.
Thanks anyways for the help!
Edit: Should I have my weapon flag as v?
Now the updated menu isn't saving characters at all. Whenever we switch characters it isn't saving them when we go back.
I fixed the issues with the characters.
[sp]rebel1324 don't touch the character system again[/sp]
The ID's for each character was being mixed up with what was stored in a table and what the actual ID was. This led to complications with what the real ID should have been. In some cases, the index matched the ID of another character (by coincidence) so you would load another character.
Oh yeah, I'd like to mention the Combine locks are now saving 90 degrees to the door. It's kinda weird, might need to look into that again!
Characters seem to be working good now.
Sorry, Chess :C
Oh yeah, one other problem that's kind of bothered me over the while. I feel like the server isn't saving some of the stuff we do. When we try to remove an NPC or prop lately, they always seem to reappear on restart. I'm not sure what's causing that.
Is there a way to get a CID from a player using lua?
client:GetDigits()
Also, any ETA on when the wiki will get fixed?
[QUOTE=Boom Rainbow;45139702]Oh yeah, one other problem that's kind of bothered me over the while. I feel like the server isn't saving some of the stuff we do. When we try to remove an NPC or prop lately, they always seem to reappear on restart. I'm not sure what's causing that.[/QUOTE]
That seems to happen to me aswell, that or when I add something [i.e a Combine Lock], occasionally, it will not appear on the next server restart.
[QUOTE=mib999;45164518]That seems to happen to me aswell, that or when I add something [i.e a Combine Lock], occasionally, it will not appear on the next server restart.[/QUOTE]
I just replace it over and over and eventually they respawn on map and server restarts.
Some server's file.Write doesn't work properly. idk why
Hi, I am the co-owner of the same server as Boom Rainbow.
Now, I'm wanting to set it to where jumping drains stamina, but I'm basically terrible at coding. Any idea as to how I could do that?
[QUOTE=rebel1324;45165721]Some server's file.Write doesn't work properly. idk why[/QUOTE]
My detour to this bug is using changelevel when I initally place the entities.
[t]http://i.imgur.com/RPHEtRf.png[/t]
HL2 RP stuffs :3
[QUOTE=Boom Rainbow;45167040][t]http://i.imgur.com/RPHEtRf.png[/t]
HL2 RP stuffs :3[/QUOTE]
i like the hat
Finaly made an NS server, first day 5 of the 6 citizens were killed in a horrible raid at the alums. Its much better to start an NS server if you already have players, all of the 12 people on there were from my TTT and Jailbreak servers. Also, on the saving issue, I'm on Linux, and chmoding my data dir to 755 worked and is still working.
Sorry, you need to Log In to post a reply to this thread.