Author Topic: ULX Crashed my Gmod?  (Read 6181 times)

0 Members and 1 Guest are viewing this topic.

Zac1002

  • Guest
ULX Crashed my Gmod?
« on: February 26, 2006, 02:56:50 AM »
I been running 0.9 ULX everything was fine till the listen server problem crap, Once i fixed it with the LUA fix everything was fine untill somone removed my stuff, what the was ULX doing? and i found out i wasnt an admin anymore, checked out 1.11 and it had more advanced listen server admin detection so i downloaded it, installed it. Loading Gmod.. and before it gets to the menu poof drops to desktop. Take the files out, it works fine, Take the listen server fix out, and ULX in, Same crash still. I need some help because i kinda want ULX as its annoying having to "lua _PlayerGiveSWEP(1, "weapons/ignite.lua")" every time i want one.. Also i kinda need the other stuff it gives :-)

Can anyone help me here?

Thanks

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: ULX Crashed my Gmod?
« Reply #1 on: February 26, 2006, 08:16:25 AM »
Please list the contents of your weapon directory, it is most likely a weapon conflict that it is crashing it.
Experiencing God's grace one day at a time.

Zac1002

  • Guest
Re: ULX Crashed my Gmod?
« Reply #2 on: February 26, 2006, 10:23:30 AM »
aha, i deleted all my crappy weapon stuff, only left a couple and it works now, cheers.

 ;D

"Give a beer to that man"

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: ULX Crashed my Gmod?
« Reply #3 on: February 26, 2006, 12:56:17 PM »
aha, i deleted all my crappy weapon stuff, only left a couple and it works now, cheers.

 ;D

"Give a beer to that man"

I'd really, really like to know which weapon was causing you problems. If you'd track down which weapon it was, that'd be great.
Experiencing God's grace one day at a time.

Zareox Mauvais

  • Guest
Re: ULX Crashed my Gmod?
« Reply #4 on: April 03, 2006, 10:26:49 AM »
Yea, right after i downloaded it and installed it, it started crashing my game, i got rid of most of my sweps, it worked. Now today after i made myself admin, now it started crashing again and i got rid of all my downloaded sweps and it still does it

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: ULX Crashed my Gmod?
« Reply #5 on: April 04, 2006, 08:01:54 AM »
Try reinstalling
Experiencing God's grace one day at a time.

Zareox Mauvais

  • Guest
Re: ULX Crashed my Gmod?
« Reply #6 on: April 07, 2006, 06:41:52 AM »
Ok, i solved it, after i had made myself admin, but i don't know if it worked. I had left to go to my grandma's house for 3 days, after i had came back (*hint* the computers wouldve been shut off and restart many times from the people also living here). I would say to reboot your computer. Rebooting the PC solves everything!

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: ULX Crashed my Gmod?
« Reply #7 on: April 07, 2006, 04:02:54 PM »
Ok, i solved it, after i had made myself admin, but i don't know if it worked. I had left to go to my grandma's house for 3 days, after i had came back (*hint* the computers wouldve been shut off and restart many times from the people also living here). I would say to reboot your computer. Rebooting the PC solves everything!
That, or your cat fixed it by stepping all over the keyboard  ;)
(If no cat applies, add a sibling above)


Zareox Mauvais

  • Guest
Re: ULX Crashed my Gmod?
« Reply #8 on: April 07, 2006, 05:23:31 PM »
Dude, i found a way to fix it, just cause i found an easy way doesn't mean an infant or anything stepped on a keyboard (also how can you reboot pc through the keyboard).

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: ULX Crashed my Gmod?
« Reply #9 on: April 07, 2006, 05:52:35 PM »
hah, only joking there, hence the winksies


Meow

  • Guest
Re: ULX Crashed my Gmod?
« Reply #10 on: May 08, 2006, 04:51:25 PM »
I'd really, really like to know which weapon was causing you problems. If you'd track down which weapon it was, that'd be great.
Had the same problem, widdled the swep weapon down to "flashbang.lua" Part of the 98 Swep Weapon Pack. Atleast this one caused the problem for me, there could be others. Love ULX and what you guys have done, I'll post the script here though just in case you don't have it and require further inquiry. Sorry for it being rather large it can pose an annoyance to this thread, delete if necessary.

_OpenScript( "includes/vector3.lua" );
MyIndex = 0
current = 0
attack = 0
atk1 = 0
atk2 = 0
trace = 0
playernum = _TeamNumPlayers(TEAM_UNASSIGNED) + _TeamNumPlayers(TEAM_BLUE) + _TeamNumPlayers(TEAM_YELLOW) + _TeamNumPlayers(TEAM_GREEN) + _TeamNumPlayers(TEAM_RED)

function onInit()
end
function onThink()   
if attack == 0 then return      
end   
if attack == 1 then
atk1 = _CurTime()
attack = 2   
end
if attack == 2 then
atk2 = _CurTime()
if atk2 - atk1 >= 4 then
attack = 0
bang()      
end
end
end
function onPrimaryAttack()
if (_PlayerInfo(Owner, "alive") == false) then return end
_PlayerViewModelSequence(Owner,161)
_EntEmitSound(Owner, "weapons/iceaxe/iceaxe_swing1.wav")
local flashbang = _EntCreate( "prop_physics" )
current = flashbang
local flashmdl = "models/weapons/w_eq_flashbang.mdl"
_EntPrecacheModel(flashmdl)
_EntSetModel(current,flashmdl)
_EntSetPos(flashbang,vecAdd(_PlayerGetShootPos(Owner),vector3(0,0,16)))
_EntSetAng(flashbang,_PlayerGetShootAng(Owner))
_EntitySetPhysicsAttacker(current,Owner)
_EntSetOwner(Owner)
_EntSpawn(flashbang)   
local power = 5250;
local throwforce = vecMul(_PlayerGetShootAng(Owner), vector3(power, power, power))
_PhysApplyForce(flashbang, throwforce)
_SWEPUseAmmo(MyIndex, 0, 1)
attack = 1
end
function bang()
local explode = _EntCreate( "env_explosion" );
_EntSetKeyValue(explode, "iMagnitude", "50");
_EntSetPos(explode, _EntGetPos(current));
_EntSpawn(explode)
_EntFire(explode,"Explode",0,0)
_EntFire(current,"Kill",0,0.05)
for i = 1, playernum do   
local subs = vecSub(_EntGetPos(current),_PlayerGetShootPos(i))
_TraceLine(_PlayerGetShootPos(i),subs,825,i)
if _TraceHitNonWorld() then trace = _TraceGetEnt()   
if trace == current then
_GModRect_Start("effects/tp_eyefx/tpeye2");
_GModRect_SetPos(0, 0, 1, 1)
_GModRect_SetColor( 255, 255, 255, 255)
_GModRect_SetTime(6, 0.075, 11)
_GModRect_Send(i, 563)
_GModRect_Start("gmod/white");
_GModRect_SetPos(0, 0, 1, 1)
_GModRect_SetColor( 255, 255, 255, 255)
_GModRect_SetTime(5, 0.075, 10)
_GModRect_Send(i, 562)
_PlaySoundPlayer(i,"ambient/levels/labs/teleport_winddown1.wav")
_EntEmitSound(i,"vo/npc/barney/ba_ohshit03.wav")
end
end
end   
end
function onSecondaryAttack() end
function onReload() return true; end
function getWeaponSwapHands() return true; end
function getWeaponFOV() return 80;    end
function getWeaponSlot() return 5;    end
function getWeaponSlotPos() return 2; end
function getFiresUnderwater() return true; end
function getReloadsSingly() return true; end
function getDamage() return 0; end
function getPrimaryShotDelay() return 5.0; end
function getSecondaryShotDelay() return 0; end
function getPrimaryIsAutomatic() return false; end
function getSecondaryIsAutomatic() return false; end
function getPrimaryAmmoType() return "grenade"; end
function getSecondaryAmmoType() return "none"; end
function getMaxClipPrimary() return 1; end
function getMaxClipSecondary() return 1; end
function getDefClipPrimary() return 1; end
function getDefClipSecondary() return 1; end
function getPrimaryScriptOverride() return 2; end
function getSecondaryScriptOverride() return 3; end
function getBulletSpread() return vector3( 0.0, 0.0, 0.0 ); end
function getViewKick() return vector3( 0, 0.0, 0.0); end
function getViewKickRandom() return vector3( 0.0, 0.0, 0.0 ); end
function getViewModel( ) return "models/weapons/v_eq_flashbang.mdl"; end
function getWorldModel( ) return "models/weapons/w_eq_flashbang.mdl"; end
function getClassName() return "weapon_luaflashbang"; end
function getAnimPrefix() return "grenade"; end
function getPrintName() return "LUA Flashbang!"; end



Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6213
  • Karma: 394
  • Project Lead
Re: ULX Crashed my Gmod?
« Reply #11 on: May 08, 2006, 06:44:59 PM »
Update the new ULX to stop this problem.
Experiencing God's grace one day at a time.