Hyper.nl Unreal Services Forum Index Hyper.nl Unreal Services
The forum of Hyper.nl Unreal Services and the semi-offical resource for Winged Unicorn's Unreal mods
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

strange inventory problems

 
Post new topic   Reply to topic    Hyper.nl Unreal Services Forum Index -> HelpDesk
View previous topic :: View next topic  
Author Message
Bleeder91



Joined: 28 Sep 2006
Posts: 265

PostPosted: Thu Apr 10, 2008 3:31 pm    Post subject: strange inventory problems Reply with quote

strange, i havent changed something with the weapons, but for some reason i can pick up multiple weps of the same wep, same for items too. and when i switch items, my inventory gets ripped. any1 know how to fix this or what causes it?
_________________
Unreallity - Wrath of the Skaarj is still developing! Check out the new refreshing website!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Shadow



Joined: 31 Mar 2008
Posts: 97
Location: Ukraine

PostPosted: Thu Apr 10, 2008 3:41 pm    Post subject: Reply with quote

Hmmm..
Only thing I can advice you to check pickup functions of the stuff.Sure if you worked with em before.If there's anything OK...Than I don't know.
Back to top
View user's profile Send private message
StaticNova



Joined: 05 Nov 2007
Posts: 84

PostPosted: Thu Apr 10, 2008 4:36 pm    Post subject: Reply with quote

I only Recall this problem with UT3 and UT2k4 when RPG with magic weapons enabled and "coop weapon enabled" or Disabled i don't remember
_________________
UPDATEZ z.z


Current Projects:
Stupid3 - like needs work.
Static4 - Need ideas.
Back to top
View user's profile Send private message MSN Messenger
Bleeder91



Joined: 28 Sep 2006
Posts: 265

PostPosted: Thu Apr 10, 2008 4:57 pm    Post subject: Reply with quote

hmm, i tryed some things, and found 2 things that may causes it.
First:
Code:

For(I=0;I<10;I++)
            if( items[I] != None )
               {
                  inv[I] = Other.FindInventoryType(items[I]);
                  if( inv[I] == None)
                     {
                        inv[I] = Spawn(Items[I],,, Other.Location);
                        inv[I].bHeldItem = true;
                        inv[I].GiveTo( Other );
                        inv[I].Instigator = Other;
                        Other.AddInventory( inv[I] );
                        Weapon(inv[I]).GiveAmmo( Other );
                        Weapon(inv[I]).BecomeItem();
                        weapon(inv[I]).BringUp();
                        Weapon(inv[I]).SetSwitchPriority( Other );
                        Weapon(inv[I]).WeaponSet( Other );
                     }
               }

Probably there is something in there that shouldnt belong there, made it in my noob years, thats why, but i cant seem to find it yet.
Second: the weps get replaced during game, through function Tick(float dtime), for some reason i see that as a problem, but i dont know how else i would get the items replaced during gameplay.
The problem appears only with those options, after the piee of codes comes out, and after i summon a stinger, that then gets replaced.
_________________
Unreallity - Wrath of the Skaarj is still developing! Check out the new refreshing website!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Hyper.nl Unreal Services Forum Index -> HelpDesk All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group