You are an unregistered user, you can register here



If you wish to make a donation you can by clicking the image below.

Go Back   The Unreal Admins Page > Forums > Unreal Admins > Unreal Engine Based > Unreal 2 - XMP

Thread Tools Display Modes
Unread 28th September, 2009, 12:42 PM
SOBS's Avatar
SOBS SOBS is offline
Forum Newcomer
Join Date: Jun 2008
Posts: 6
Default Republic Commando XMP based Engine Throwweapon Crash

Republic Commando -

Were having a slight problem on one of our servers with a Throwweapons loop. Throwweapons does not loop(spam) in single player mode. You can throwweapon and just 1 comes out. But in multiplayer online throwweapon can spam(loop) weapons. Someone can run and hit the Throwweapons and create a bunch of weapons that will crash the server. Is there a way to prevent this. I've tried the ballowthrowweapons settings in both true and false. If I set it so they cannot throwweapons it creates and endless supply of weapons at the spawn point and they just stand there and crash the server also. Its making me. If anyone has any solutions besided the smartbutt ones like "Just stop playing Unreal games." It would be a great help.



In the multiplayer version if you hit your throwweapon button and run it will throw weapons of the same type as fast as you can push the key. It doesn't do it in single player mode though. If you do it enough it will crash the server.

I'm trying to find out how to stop it. I'm currently going threw the .u files looking for the difference between single player and multiplayer. If anyone can point me in the right direction.

Here is a .u file for the multiplayer I"m still searching for the single player version. Any help if another Unreal based engine has solved this problem.

Weapon changing functions

/* ThrowWeapon()
Throw out current weapon, and switch to a new weapon
exec function ThrowWeapon()
if ( (Pawn == None) || (Pawn.Weapon == None) )


function ServerThrowWeapon(Weapon WeaponToThrow)
local Vector TossVel;

if (Pawn.CanThrowWeapon(WeaponToThrow))
TossVel = Vector(GetViewRotation());
TossVel = TossVel * ((Pawn.Velocity Dot TossVel) + 500) + Vect(0,0,200);
Pawn.TossWeapon(WeaponToThrow, TossVel);

Update(28 Dec 09) .... After searching the Engine.u file I've found the following script that controls the server I believe. I'm going to copy this file and see what I can extract and modify with it.

// Functions client can call.
unreliable if( Role<ROLE_Authority )
ServerUpdatePing, ShortServerMove, ServerMove, DualServerMove,
RocketServerMove, Say, TeamSay, ServerSetHandedness,
ServerViewNextPlayer, ServerViewSelf,ServerUse, ServerDrive, ServerToggleBehindView;
reliable if( Role<ROLE_Authority )
Speech, Pause, ServerSetPause, Mutate, ServerSetFOV, ServerAcknowledgePossession, ServerShortTimeout,
PrevItem, ActivateItem, ServerReStartGame, AskForPawn, ServerShowWeaponState, ServerShowPCState,
ChangeName, ChangeTeam, Suicide,
ServerThrowWeapon, BehindView, Typing,
ServerValidationResponse, ServerVerifyViewTarget, ServerSpectateSpeed, ServerSetClientDemo,
ServerUTrace, //UTrace
ServerChooseTeam, ServerSpectate, BecomeSpectator, BecomeActivePlayer;

reliable if (ROLE==ROLE_Authority)
ClientBecameSpectator, ClientBecameActivePlayer;

unreliable if (ROLE==ROLE_Authority)

Last edited by SOBS : 29th September, 2009 at 10:01 PM. Reason: adding editing
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT +1. The time now is 06:06 PM.


All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.