For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

[227g31] ServerSaveInventory function

Report bugs, read about fixes, new features and ask questions about the Unreal 227 patch here. Place comments and commit suggestions.
User avatar
Hyper
OldUnreal Member
Posts: 3527
Joined: Fri Oct 11, 2002 5:41 pm
Contact:

[227g31] ServerSaveInventory function

Post by Hyper »

While you're at it you can test this option on the server too:
[Engine.GameEngine]
bServerSaveInventory=True
ServerPackages=...
Saving travel inventory data to an ini file, so that players in your server can keep their inventory after a crash.
I have bServerSaveInventory=True.

I manually shut down the server, and when it restarted I did not get my inventory back. Why is that?
Last edited by Hyper on Tue Jun 22, 2010 8:20 pm, edited 1 time in total.
The man who stopped a tsunami

http://www.hypercoop.tk
unreal://hypercoop.tk
User avatar
Hyper
OldUnreal Member
Posts: 3527
Joined: Fri Oct 11, 2002 5:41 pm
Contact:

Re: [227g25] ServerSaveInventory function

Post by Hyper »

I simulated an unexpected crash by killing the Unreal.exe server process, and when I restarted I did not get my inventory back. Something does not seem to work here.

Settings:
[Engine.GameEngine]
CacheSizeMegs=4
UseSound=False
bDeleteTravelInvOnLoad=False
bServerSaveInventory=True
The man who stopped a tsunami

http://www.hypercoop.tk
unreal://hypercoop.tk
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: [227g25] ServerSaveInventory function

Post by []KAOS[]Casey »

you actually have to travel a map for it to work, if you get inventory, don't travel, close server, it will record nothing.
User avatar
Hyper
OldUnreal Member
Posts: 3527
Joined: Fri Oct 11, 2002 5:41 pm
Contact:

Re: [227g25] ServerSaveInventory function

Post by Hyper »

you actually have to travel a map for it to work, if you get inventory, don't travel, close server, it will record nothing.
The conditions I posted were AFTER several map switches. (The inventory did get saved in the InventoryData.ini file) but somehow it does not get 'used' after a server restart/crash.
The man who stopped a tsunami

http://www.hypercoop.tk
unreal://hypercoop.tk
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: [227g25] ServerSaveInventory function

Post by []KAOS[]Casey »

I'll go try it with different gametypes and see how it changes things, I don't think it should do anything.

btw. g_26 is up

edit: Link removed
Last edited by []KAOS[]Casey on Fri Apr 09, 2010 7:10 pm, edited 1 time in total.
User avatar
Hyper
OldUnreal Member
Posts: 3527
Joined: Fri Oct 11, 2002 5:41 pm
Contact:

Re: [227g25] ServerSaveInventory function

Post by Hyper »

I'll go try it with different gametypes and see how it changes things, I don't think it should do anything.

btw.

http://www.klankaos.com/227g26ConformedSystem.rar , g_26 is up
Could there be a conflict with something like the JCoopZ GiveItems or the JCoopZ inventory restore function? (Restores inventory after you die and respawn withour reconnecting)
The man who stopped a tsunami

http://www.hypercoop.tk
unreal://hypercoop.tk
User avatar
Smirftsch
Administrator
Posts: 9001
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali
Contact:

Re: [227g25] ServerSaveInventory function

Post by Smirftsch »

conformed version not needed, conformed it already against 227f as promised :)
Sometimes you have to lose a fight to win the war.
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: [227g25] ServerSaveInventory function

Post by []KAOS[]Casey »

oh shit, I feel dumb lol

I'll remove the link and reinstall my version.

Also: I tried JCoopZ1 with the inventory retain features and it doesn't seem to effect it. I'll poke around more

Have you tried using a different name? Maybe your name doesn't parse correctly? I'm not 100% sure.
User avatar
Hyper
OldUnreal Member
Posts: 3527
Joined: Fri Oct 11, 2002 5:41 pm
Contact:

Re: [227g25] ServerSaveInventory function

Post by Hyper »

conformed version not needed, conformed it already against 227f as promised :)
Great! I'll update!

I suggest to keep the beta's compatible with the latest available client version to facilitate public testing. (If you did not plan to do this already)
The man who stopped a tsunami

http://www.hypercoop.tk
unreal://hypercoop.tk
User avatar
Hyper
OldUnreal Member
Posts: 3527
Joined: Fri Oct 11, 2002 5:41 pm
Contact:

Re: [227g25] ServerSaveInventory function

Post by Hyper »

oh nuts, I feel dumb lol

I'll remove the link and reinstall my version.

Also: I tried JCoopZ1 with the inventory retain features and it doesn't seem to effect it. I'll poke around more

Have you tried using a different name? Maybe your name doesn't parse correctly? I'm not 100% sure.
My name is Hyper.nl which should not cause any problems I think. (No weird chars in there) But I can try...
Last edited by Hyper on Fri Apr 09, 2010 7:14 pm, edited 1 time in total.
The man who stopped a tsunami

http://www.hypercoop.tk
unreal://hypercoop.tk
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: [227g25] ServerSaveInventory function

Post by []KAOS[]Casey »

I inserted one giveitem and now the inventory travel does not work.

Zombie? :)

edit:

I would suggest checking out AcceptInventory
Last edited by []KAOS[]Casey on Fri Apr 09, 2010 7:17 pm, edited 1 time in total.
User avatar
Hyper
OldUnreal Member
Posts: 3527
Joined: Fri Oct 11, 2002 5:41 pm
Contact:

Re: [227g25] ServerSaveInventory function

Post by Hyper »

Now testing under name HyperTest:

InventoryData.ini

Code: Select all

[HyperTest]
jCoopZ1.jzMaleThree=jzMaleThree0\TScore|0.2=27\TPlayerIP|0.12=192.168.1.64\TLocalID|0.8=49956388\TPlayerUID|0.11=-1428685958\TraveledInv|0.13=~Health~=2000\TraveledInv|1.32=UnrealShare.Translator:0;0-Idle2\TraveledInv|2.24=test.GemDagger:0;0-Idle2\TraveledInv|3.35=Aura.AuraSearchLightWhite:0;0-Idle2\TraveledInv|4.31=AuraMusicBox.MusicBox:0;0-Idle2\TraveledInv|5.34=AuraBeltNL.BarrierBelt:750;0-Idle2\TraveledInv|6.34=UnrealShare.SCUBAGear:1187;0-Idle2\Weapon|0.16=BlizzardBastard1\SelectedItem|0.12=Translator35\Health|0.4=2000
UnrealShare.Translator=Translator35
test.GemDagger=GemDagger0\SavedScore|0.2=27
Aura1.AuraPistol=AuraPistol0\PowerLevel|0.1=4
Aura.AuraSearchLightWhite=AuraSearchLightWhite0
Aura.AmpMinigun=AmpMinigun0\AutoSwitchPriority|0.2=27
AuraMusicBox.MusicBox=MusicBox0
AuraBeltNL.BarrierBelt=BarrierBelt0
Aura1.GTMI=GTMI0
UnrealShare.SCUBAGear=SCUBAGear0\Charge|0.4=1187
Aura.BlizzardBastard=BlizzardBastard1
I killed the Unreal.exe server process...
I reconnected...

I only have my default inventory.
Last edited by Hyper on Fri Apr 09, 2010 7:19 pm, edited 1 time in total.
The man who stopped a tsunami

http://www.hypercoop.tk
unreal://hypercoop.tk
User avatar
Hyper
OldUnreal Member
Posts: 3527
Joined: Fri Oct 11, 2002 5:41 pm
Contact:

Re: [227g25] ServerSaveInventory function

Post by Hyper »

I'll go try it with different gametypes and see how it changes things, I don't think it should do anything.

btw. g_26 is up

edit: Link removed
I updated to 227fg26. (All servers)
The man who stopped a tsunami

http://www.hypercoop.tk
unreal://hypercoop.tk
User avatar
Zombie
Administrator
Posts: 322
Joined: Thu May 09, 2002 11:44 pm

Re: [227g25] ServerSaveInventory function

Post by Zombie »

I inserted one giveitem and now the inventory travel does not work.

Zombie? :)

edit:

I would suggest checking out AcceptInventory
According to you and .:..: the travel data is being saved in the INI file identically to how it was in program memory. There must be a difference somewhere, like the restore to program memory, or else the behavior would be unchanged as if the server never crashed/restarted.

Little has changed in JCoopZ AcceptInventory() compared to the parent in GameInfo. The first pass on the AutoRunCommand array using ConsoleCommand() is there after the call to AddDefaultInventory(), and that is it. GiveItem is processed as the last standard function call in JCoopZ AddDefaultInventory() like it is in other JCoop[x] releases.


-Zombie
User avatar
Hyper
OldUnreal Member
Posts: 3527
Joined: Fri Oct 11, 2002 5:41 pm
Contact:

Re: [227g25/26] ServerSaveInventory function

Post by Hyper »

What is the status of this one?
The man who stopped a tsunami

http://www.hypercoop.tk
unreal://hypercoop.tk
User avatar
Hyper
OldUnreal Member
Posts: 3527
Joined: Fri Oct 11, 2002 5:41 pm
Contact:

Re: [227g25/26] ServerSaveInventory function

Post by Hyper »

What is the status of this one?
The man who stopped a tsunami

http://www.hypercoop.tk
unreal://hypercoop.tk
User avatar
Smirftsch
Administrator
Posts: 9001
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali
Contact:

Re: [227g25/26] ServerSaveInventory function

Post by Smirftsch »

we updated it again today and should work flawlessly now :)
Sometimes you have to lose a fight to win the war.
User avatar
Hyper
OldUnreal Member
Posts: 3527
Joined: Fri Oct 11, 2002 5:41 pm
Contact:

Re: [227g25/26] ServerSaveInventory function

Post by Hyper »

we updated it again today and should work flawlessly now :)
Great work!  ;) :)
The man who stopped a tsunami

http://www.hypercoop.tk
unreal://hypercoop.tk
User avatar
Hyper
OldUnreal Member
Posts: 3527
Joined: Fri Oct 11, 2002 5:41 pm
Contact:

Re: [227g25/26] ServerSaveInventory function

Post by Hyper »

I updatred to 227g30 and it does not work yet for me. The inventory date gets recorded like the previous version but it does not get restored when the server actually restarts:

bServerSaveInventory=True


InventoryData.ini

Code: Select all

[Hyper.nl]
jCoopZ1.jzMaleThree=jzMaleThree1\TScore|0.2=39\TPlayerIP|0.12=192.168.1.64\TLocalID|0.8=49956388\TPlayerUID|0.11=-1428685958\TraveledInv|0.13=~Health~=2085\TraveledInv|1.31=THlamer.THlamerFlare:10;0-Idle2\TraveledInv|2.34=AuraBeltNL.BarrierBelt:378;0-Idle2\TraveledInv|3.31=AuraMusicBox.MusicBox:0;0-Idle2\TraveledInv|4.31=Aura.AuraSearchLightW:0;0-Idle2\TraveledInv|5.24=test.GemDagger:0;0-Idle2\TraveledInv|6.32=UnrealShare.Translator:0;0-Idle2\TraveledInv|7.33=UMSSpaceMarine.tripwire:0;1-Idle2\TraveledInv|8.29=UnrealShare.Armor:250;0-Idle2\TraveledInv|9.30=test.BlessedArmor:1000;0-Idle2\TraveledInv|10.34=UnrealShare.ShieldBelt:250;0-Idle2\TraveledInv|11.29=UnrealShare.ShellBox:0;0-1500\TraveledInv|12.43=UMSSpaceMarine.AMarineSuit:1000;0-Activated\Weapon|0.11=AmpMinigun2\SelectedItem|0.12=AMarineSuit0\Health|0.4=2085
THlamer.THlamerFlare=THlamerFlare4
AuraBeltNL.BarrierBelt=BarrierBelt2\Charge|0.3=378
AuraMusicBox.MusicBox=MusicBox2
Aura.AmpMinigun=AmpMinigun2\AutoSwitchPriority|0.2=24
Aura.AuraSearchLightW=AuraSearchLightW2
Aura1.AuraPistol=AuraPistol3
test.GemDagger=GemDagger2\SavedScore|0.2=39
UnrealShare.Translator=Translator11
UMSSpaceMarine.tripwire=tripwire0\NumCopies|0.1=1
Aura1.AuraASMD=AuraASMD4
UnrealShare.Armor=Armor6
test.BlessedArmor=BlessedArmor0
Aura.AmpMag=AmpMag3
UnrealShare.ShieldBelt=ShieldBelt5
AKcoop2.karimea=karimea0\AmmoType|0.9=ShellBox6
UnrealShare.ShellBox=ShellBox6\AmmoAmount|0.4=1500
UMSSpaceMarine.AMarineSuit=AMarineSuit0\PowerCharge|0.4=4490\bActive|0.4=True
I only get the JCoopZ GiveItems, not my previous inventory which is recorded here.
Last edited by Hyper on Thu May 20, 2010 9:15 pm, edited 1 time in total.
The man who stopped a tsunami

http://www.hypercoop.tk
unreal://hypercoop.tk
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: [227g30] ServerSaveInventory function

Post by []KAOS[]Casey »

Weird. whenever I tested it, it seemed to work after the fix of the "Forged" error.
User avatar
Smirftsch
Administrator
Posts: 9001
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali
Contact:

Re: [227g30] ServerSaveInventory function

Post by Smirftsch »

Indeed weird. Whats the difference now between our test setup and your server. The answer will be the key for the problem I think...
Can you send me your setup Hyper? Will try to find out.
Sometimes you have to lose a fight to win the war.
User avatar
Hyper
OldUnreal Member
Posts: 3527
Joined: Fri Oct 11, 2002 5:41 pm
Contact:

Re: [227g30] ServerSaveInventory function

Post by Hyper »

Indeed weird. Whats the difference now between our test setup and your server. The answer will be the key for the problem I think...
Can you send me your setup Hyper? Will try to find out.
PM sent.
The man who stopped a tsunami

http://www.hypercoop.tk
unreal://hypercoop.tk
User avatar
Hyper
OldUnreal Member
Posts: 3527
Joined: Fri Oct 11, 2002 5:41 pm
Contact:

Re: [227g30] ServerSaveInventory function

Post by Hyper »

Is this one addressed in 227G31 as well? Or is is still under investigation?
The man who stopped a tsunami

http://www.hypercoop.tk
unreal://hypercoop.tk
User avatar
Hyper
OldUnreal Member
Posts: 3527
Joined: Fri Oct 11, 2002 5:41 pm
Contact:

Re: [227g30] ServerSaveInventory function

Post by Hyper »

Is this one addressed in 227G31 as well? Or is is still under investigation?
*kick*
The man who stopped a tsunami

http://www.hypercoop.tk
unreal://hypercoop.tk
User avatar
Smirftsch
Administrator
Posts: 9001
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali
Contact:

Re: [227g30] ServerSaveInventory function

Post by Smirftsch »

thx for reminder. Was a bit busy the last days to find a performance bug in 227g. Also increased overall performance a few percent. Will have another look before g31 :)
Sometimes you have to lose a fight to win the war.
Post Reply

Return to “Unreal 227”