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

WTF?!

The section related to UnrealScript and modding. This board is for coders to discuss and exchange experiences or ask questions.
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

WTF?!

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

A weap I made, of course...

Go and see yourself:

1. download http://thedarkside.net63.net/downloads/mods/Dark14.cab
2. extract it
3. put Dark14 into ServerPackages
4. go start a MULTIPLAYER GAME, ONLINE, NOT OFFLINE, NOT BOTMATCH
5. the projectiles stay on the wall when you fire them.

WTF?!

VIEWCLASS FASMDProj (or was it FASMDProjectile, not sure lmao) yields "Failed to change view."

» » » W H A T T H E F * C K ? ! « « «

NOTE: This is the file without a secret part of my package cuz I don't know how the phuck to obfuscate it. :D So, don't even begin to thing about thinking about playing with this.
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: WTF?!

Post by GreatEmerald »

Reminds me of my tries to make a UT2003-style projectile in UT2004. The projectile got destroyed after hitting the wall, but the trail didn't... And it stayed for ever... Went through walls... So basically after a few shots all the arena had green lines going everywhere! Lol! That must be some code that was changed and no longer worked properly in UT2004 engine.
User avatar
Bane
OldUnreal Member
Posts: 493
Joined: Sun Mar 03, 2002 6:32 pm

Re: WTF?!

Post by Bane »

definitely a replication issue. I think something like that would be caused by a ROLE_Simulated projectile not having simulated function HitWall().
Author of Hide and Seek mod, and the NALIBALL mod

Hide and Seek can be downloaded from:
http://HideNSeek.5u.com
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: WTF?!

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

So, any suggestions on how to fix this annoyance? :)
User avatar
§tå£kër 3000
OldUnreal Member
Posts: 200
Joined: Sun Sep 21, 2008 8:08 pm

Re: WTF?!

Post by §tå£kër 3000 »

A weap I made, of course...

Go and see yourself:

1. download http://thedarkside.net63.net/downloads/mods/Dark14.cab
2. extract it
3. put Dark14 into ServerPackages
4. go start a MULTIPLAYER GAME, ONLINE, NOT OFFLINE, NOT BOTMATCH
5. the projectiles stay on the wall when you fire them.

WTF?!

VIEWCLASS FASMDProj (or was it FASMDProjectile, not sure lmao) yields "Failed to change view."

» » » W H A T   T H E   F * C K ? ! « « «

NOTE: This is the file without a secret part of my package cuz I don't know how the phuck to obfuscate it. :D So, don't even begin to thing about thinking about playing with this.
I don't know what this means but it scares the helloutofme just reading it! :o
§tå£kër 3000 Playing Unreal since 1998 Stalking Unreal since 2008!
Image
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: WTF?!

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

Lol if you didn't download it and don't intend to, I'll explain.

On multiplayer game, the projectiles my weapon fires, stay on the fscking wall/floor/ceiling or w/e they hit (if they hit an actor, the explosion is there but it continues flying until it hits a wall).

They are actually not there, as VIEWCLASS doesn't find them and they all disappear when you reconnect. Silly, eh?
User avatar
Chaos13
OldUnreal Member
Posts: 951
Joined: Sat Feb 16, 2008 10:24 am

Re: WTF?!

Post by Chaos13 »

The projectile keeps being "alive" on the client after it's destroyed on the server. ViewClass is server-side. Pretty much explains everything. Try CViewClass (MConsole) and CheckReplication (MConsole too). Surely you will be able to view your projectile but CheckReplication will report that "Actor is not linked to network proxy.". Lol
Skydev = Chaos13 = Dimension4
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: WTF?!

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

So what should I do? :o
User avatar
Chaos13
OldUnreal Member
Posts: 951
Joined: Sat Feb 16, 2008 10:24 am

Re: WTF?!

Post by Chaos13 »

Somehow replicate Destroy() to the Client...
Skydev = Chaos13 = Dimension4
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: WTF?!

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

And that translated to noobs' language would be...? ;D
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: WTF?!

Post by GreatEmerald »

If Netmode=NM_Standalone ...
replication{
reliable if ...
unreliable if ...
}
bSuperRelevant = ...
bAlwaysRelevant= ...

And stuff like that.
http://wiki.beyondunreal.com/Legacy:Replication
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: WTF?!

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

My weapon is unreliable, it can blow your eye out.

And it's always irrelevant, at is it pointless just as my whole life. :'(
User avatar
.:..:
OldUnreal Member
Posts: 1637
Joined: Tue Aug 16, 2005 4:35 am

Re: WTF?!

Post by .:..: »

In this case, eighter add to defaultproperties "bNetTemporary=False" or add "simulated" keyword in front of all of the functions.
1823223D2A33224B0 wrote:...and now im stuck trying to fix everything you broke for the next 227 release xD :P
(ಠ_ಠ)
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: WTF?!

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

I tried adding "simulated" to every function. :o
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: WTF?!

Post by GreatEmerald »

http://wiki.beyondunreal.com/Legacy:Replication
You might read this. I still didn't get it after doing it though.
Also this is probably the most important part of it:
http://wiki.beyondunreal.com/Legacy:Replicated_Function
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: WTF?!

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

Gonna check that later tomorrow cuz I'm tired now, had a long and hard day. BTW, thx for all teh help anyway. ;)
User avatar
Smikey
OldUnreal Member
Posts: 52
Joined: Tue May 27, 2008 3:42 pm

Re: WTF?!

Post by Smikey »

Btw is this with patch 227 on your machine ?

coz decal spawn ? client options ? or does this mod/stuf tweak whatever it is ... keeping it alive?

but if its like a decale.. dont know spelled right.. anyway. .
u can set the time to let it showen in game .. maby if u set this in advanced options .. u can change the time .. or killall nameofwhateveritscalled by using console?

hmmm ..
http://www.stargateunreal.com                
The  Official STargate Unreal website .

Image[url=steam://friends/add/765611980
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: WTF?!

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

No, it's not actually there. It's just displayed. But none of the viewclass commands work and after reconnecting it disappears. :o
User avatar
Age
OldUnreal Member
Posts: 848
Joined: Sat Dec 29, 2007 5:25 pm

Re: WTF?!

Post by Age »

bNetTemporary at: Advanced / bNetTemporary.
Set if false.
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: WTF?!

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

It was already false. :o
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: WTF?!

Post by []KAOS[]Casey »

{Sigh}

Is it Role_SimulatedProxy?
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: WTF?!

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

ROLE_SimulatedProxy it is. :(
User avatar
Age
OldUnreal Member
Posts: 848
Joined: Sat Dec 29, 2007 5:25 pm

Re: WTF?!

Post by Age »

Set it's bBounce true or false.
User avatar
[§Ŕ] ŤhěxĐâŕkśîđěŕ
OldUnreal Member
Posts: 4425
Joined: Wed Sep 03, 2008 8:19 am

Re: WTF?!

Post by [§Ŕ] ŤhěxĐâŕkśîđěŕ »

Still nothing. :(

Two things I found out:
• If the projectile hits a mover and I move it, it continues moving and leaves a decal where it hits. Not sure if it's a new decal or the old one moves, gotta check it out
• The whole game lags like crazy when I add it to ServerPackages, summon it and fire. And then it lags even without using it. To be sure it's not something else causing the lag, I did "admin switchcooplevel passage" (it was passage the first time too) and the whole level went without lag (I dropped the weapon before). So no CPU, GFX card or RAM problem. I don't get it anymore...
User avatar
Age
OldUnreal Member
Posts: 848
Joined: Sat Dec 29, 2007 5:25 pm

Re: WTF?!

Post by Age »

Set it's bBlockPlayers, bBlockActors and bProjTarget false.
By the way: Do it have function HitWall inside the script?
Last edited by Age on Sat Nov 22, 2008 8:03 pm, edited 1 time in total.

Return to “UScript Board”