Raised This Month: $ Target: $400
 0% 

Crash because BeamRingPoint


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nico185
Junior Member
Join Date: Feb 2009
Old 01-03-2010 , 21:57   Crash because BeamRingPoint
Reply With Quote #1

Hi,

I have made a script that spawns an entity. After the spawn of the entity it toggles a BeamRingPoint on it.. on small maps it works without problems, but on bigger maps like rp-maps it crashes my hl2dm client.
The server still runs, and the entity is there. After removing the TE_SetupBeamRingPoint entry it doesnt crash, but thats not what I want.

Code:

TE_SetupBeamRingPoint(FurnitureOrigin, 10.0, 50.0, g_BeamSprite, g_HaloSprite, 0, 10, 0.6, 10.0, 0.5, blueColor, 10, 0);
TE_SendToAll();

FurnitureOrigin is the origin where the entity is teleported to.
After that I tried to make a seperate command (/ring) to send a BeamRingPoint. It crashes the Client, too (only on big rp maps).

I hope you can help me

best regards, nico
nico185 is offline
API
Veteran Member
Join Date: May 2006
Old 01-03-2010 , 22:33   Re: Crash because BeamRingPoint
Reply With Quote #2

What game for? Client crashes are usually because a material doesn't work for the game or isn't precached correctly. This happened in beta for War3Source
__________________
API is offline
Send a message via AIM to API
nico185
Junior Member
Join Date: Feb 2009
Old 01-03-2010 , 22:55   Re: Crash because BeamRingPoint
Reply With Quote #3

Its all ok now, i just noticed that the plugin precache the materials in OnPluginStart..
My fault
nico185 is offline
Reply



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:14.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode