Hurtworld itemv2 branch
Discussion in 'Hurtworld Discussion' started by CaptainNebulous, Jan 10, 2017.
-
-
How can i change my rented server to ItemV2?
-
Wulf Community Admin
-
well theirs a few servers itemv2 with /mods ect like tp and kits sethome ect
-
Wulf Community Admin
-
or where can i find info on how to compile the itemv2 oxide build
or how soon do you think the admins will release an itemv2 build ?Last edited by a moderator: Aug 2, 2017 -
Wulf Community Admin
If you aren't compiling yourself, we'd recommend to avoid using any randomly provided builds from sites or members that aren't from Oxide as we cannot say what may have been added to them. We do not have an automatic build setup right now to handle the itemv2 branch, but I did go ahead and upload a snapshot build to our primary download location that hosts can make use of.
Code:https://dl.bintray.com/oxidemod/builds/Oxide-Hurtworld-itemv2-SNAPSHOT.zip
-
Error while compiling: Kits.cs<460,120>: error CS1061: Type ´PlayerSession´ does not contain a defenition for ´Name´ and no extension method ´Name´ of type ´PlayerSession´ could be found. Are you missing an assembly reference?
Can someone help me with this? -
Wulf Community Admin
For itemv2 branch: session.Identity.Name
Keep in mind that "session" is just what I am naming it, it could be different in the plugin you are using such as "player", "user", etc. -
hurt.SendChatMessage(findPlayers[0], string.Format("You've received the kit {1} from {0}", session.Identity.Name, storedData.Kits[kitname].name)); Now its like this and still showing the same error
-
Wulf Community Admin
-
Im sorry man Im not good at this, so I should replace session.Name with session.Identity.Name?
[DOUBLEPOST=1501784997][/DOUBLEPOST]Im working with Kits plugin, im trying to remake it to Itemv2, actually almost all the plugins got this error -
Wulf Community Admin
-
Look, when it was session.Name gave me this error
Then i changed to session.Identity.Name and show this
-
Wulf Community Admin
-
-
Wulf Community Admin
You may be searching with case-sensitivity. -
How is this possible? I swear i cant find more session.name
-
Wulf Community Admin