[QUOTE=themaw;14552107]Ty i found that out but thanks anyways xD and ugh good luck with Wipeout two. :)
Sorry i found out the Graphics of the Effects was to high. I had to make it loop a few thousand times to make it HD. Apparently u guys cant take it O_O so im going to reduce it to 80% about 500 or 400 loops for the effect not much[/QUOTE]
What? You shouldn't need to recreate the effect over and over and over and over. You should only need to tell the client the ship entity and the hit position of the laser and do the rest on the client.
[lua]
local Laser = Material( "trails/physbeam" )
function EFFECT:Init(data)
self.StartPos = data:GetOrigin()
self.EndPos = data:GetStart()
self.Time = CurTime() + 0.05
self.Direction = 0
end
function EFFECT:Think()
if self.Time < CurTime() then
return false
else
return true
end
end
function EFFECT:Render()
render.SetMaterial( Laser )
render.DrawBeam( self.StartPos,self.EndPos, 2, 0, 0, Color( 255, 120, 0, 255 ) )
end
-- Do this instead
local Laser = Material( "trails/physbeam" )
function EFFECT:Init(data)
self.ship = data:GetEntity()
self.StartPos = self.ship:GetPos()
self.EndPos = data:GetStart()
self.Time = CurTime() + mining_time
self.Direction = 0
end
function EFFECT:Think()
if self.Time < CurTime() then
return false
else
self.StartPos = self.ent:GetPos()
return true
end
end
function EFFECT:Render()
render.SetMaterial( Laser )
render.DrawBeam( self.StartPos,self.EndPos, 2, 0, 0, Color( 255, 120, 0, 255 ) )
end
[/lua]
[QUOTE=conman420;14552586]What? You shouldn't need to recreate the effect over and over and over and over. You should only need to tell the client the ship entity and the hit position of the laser and do the rest on the client.
[lua]
local Laser = Material( "trails/physbeam" )
function EFFECT:Init(data)
self.StartPos = data:GetOrigin()
self.EndPos = data:GetStart()
self.Time = CurTime() + 0.05
self.Direction = 0
end
function EFFECT:Think()
if self.Time < CurTime() then
return false
else
return true
end
end
function EFFECT:Render()
render.SetMaterial( Laser )
render.DrawBeam( self.StartPos,self.EndPos, 2, 0, 0, Color( 255, 120, 0, 255 ) )
end
-- Do this instead
local Laser = Material( "trails/physbeam" )
function EFFECT:Init(data)
self.ship = data:GetEntity()
self.StartPos = self.ship:GetPos()
self.EndPos = data:GetStart()
self.Time = CurTime() + mining_time
self.Direction = 0
end
function EFFECT:Think()
if self.Time < CurTime() then
return false
else
self.StartPos = self.ent:GetPos()
return true
end
end
function EFFECT:Render()
render.SetMaterial( Laser )
render.DrawBeam( self.StartPos,self.EndPos, 2, 0, 0, Color( 255, 120, 0, 255 ) )
end
[/lua][/QUOTE]
WTH? i was talking about the explosion effects -_- the beams are all fine.
[b]UPDATE[/b]
I have merged Maws Server with my server so all you guys with ships and money on Maws now have all your stuff on my server as well.
check this out! funny logo i made in few mins!
[IMG]http://www.garrysmod.org/img/dl/66025_2.jpg[/IMG]
Wow, just, Wow... I can't wait to play!
OK Thank you Conner for telling me some tips about future preperations on the servers I thank you!
Upgrade:
Servers are now less laggier and will no longer Overflow
1: Buy Ship menu!
2: Fixed Beam Spam (very hard to see but can cause lagg according to conner)
3: Fixed the Dynamic Props causing overflows (wow conner never knew that prop dynamic carried such and thanks for tip)
Thanks to conner for the 2 bottom stuff :)
[b]24/7 Server Update: Tommorow[/b]
Overflow Fixed
Ship Buy Options
( Possibly New Ship Class's, Just got to tweak them a little more )
Just got to update the server with the new patch, it will be tommorow.
NEWS on The Maws test server:
1: You can now finaly see each others names and factions!
2: The Inventory was broken at first. This have been fixed!
EDIT:
This was taken after the update. Compare it with the ones from Conman
[IMG]http://www.garrysmod.org/img/dl/66025_3.jpg[/IMG]
Nice TheMaw, that is a huge decrease in the net_graph 3.
But do tell me, what did you change, I am rather interested.
[QUOTE=darkgodmaste;14564835]Nice TheMaw, that is a huge decrease in the net_graph 3.
But do tell me, what did you change, I am rather interested.[/QUOTE]
the most weird thing on earth. What i found out was that i had to switch out the prop_dynamic asteroids and replace with a simple SENT. Connor revealed that Prop_Dynamic carried some stuff that can cause lagg and net overflows.
Other things i also found out was that some of the NWs were creating a giant lagg.. apparently only 3 did so i removed that and u get the result in the picture :D
[QUOTE=themaw;14564904]Other things i also found out was that some of the NWs were creating a giant lagg.. apparently only 3 did so i removed that and u get the result in the picture :D[/QUOTE]
NW's cause almost no lag unless there being changed insanely fast. Even changing on think is lag free, with about 5 at once (not that I'd recommend it, but I've tested out of interest).
[QUOTE='-[ Fizzadar ]-;14565048']NW's cause almost no lag unless there being changed insanely fast. Even changing on think is lag free, with about 5 at once (not that I'd recommend it, but I've tested out of interest).[/QUOTE]
i know. But its not FPS drops were talking about its Net messages (usermessages on Conmans picture)
SetNW* uses usermessages.
[QUOTE=hegrec;14565602]SetNW* uses usermessages.[/QUOTE]
thanks i know that if your talking to me.. arent you that guy who hated the gamemode so much? why are you still here? attracted?
So...
I played the mode on slimswitchs server. I must say I am totally enthused :D
Great map, detailed, good shipmodels =)
However i think that you get to fast experience level =/ (Mining, you must lock your mouse key and wait until your cargo is full, by wathcing tv =/ )
woah awesome
[QUOTE=themaw;13973642]No where! the gamemode is handled on a single server to maintain all account data on one place!
however there will be a client download for the gamemode so you dont have to spend an hour on downloading it from my server.[/QUOTE] now i'm like out of here. i don't feel like waiting hours on waiting for a spot on the server.
[QUOTE=Facepunch123;14567189]woah awesome
now i'm like out of here. i don't feel like waiting hours on waiting for a spot on the server.[/QUOTE]
Actually, there will be several servers, as I am hosting most of them for The Maw. There will not be just a single server, but there will be several infact.
heres a giant note here:
DONT SUGGEST ME TO STEAL OTHER PEOPLES GAME CONTENTS
ok thats it.. all other things are ok but please dont encourage me to steal their gamemodes. am not a thief am affraid.
Sorry
[QUOTE=themaw;14566528]thanks i know that if your talking to me.. arent you that guy who hated the gamemode so much? why are you still here? attracted?[/QUOTE]
I never said I hated your gamemode. I just think you have a very large ego for someone who hasn't released anything successful yet. If your gamemode turned out to be the best ever made for garrysmod, you would have full bragging rights though.
[QUOTE=themaw;14564904]the most weird thing on earth. What i found out was that i had to switch out the prop_dynamic asteroids and replace with a simple SENT. Connor revealed that Prop_Dynamic carried some stuff that can cause lagg and net overflows.
[/QUOTE]
The reason for this is prop_dynamics can be the most intensive prop entity in source. Prop_Statics are by far the cheapest, don't really require much networking. Prop_Physics only come into play when they are touched/affected, but otherwise are fairly cheap. Prop_Dynamics have all the animation abilities, collision, animatable collision, etc.
But it was probably also the Networked vars, depending how you called them.
[QUOTE=hegrec;14570754]I never said I hated your gamemode. I just think you have a very large ego for someone who hasn't released anything successful yet. If your gamemode turned out to be the best ever made for garrysmod, you would have full bragging rights though.[/QUOTE]
What are you talking about? I have not seen any of you'r work either good sir, as a coder on this project this is one of the most complex gamemodes I have by far ever played and worked on. And also, he has bragging writes since this is an orginal concept for Garry's mod.
[QUOTE=$SLIMSWITCH$;14570951]What are you talking about? I have not seen any of you'r work either good sir, as a coder on this project this is one of the most complex gamemodes I have by far ever played and worked on. And also, he has bragging writes since this is an orginal concept for Garry's mod.[/QUOTE]
Just because he has not released something doesn't remove his right to criticise.
[QUOTE=$SLIMSWITCH$;14570951]What are you talking about? I have not seen any of you'r work either good sir, as a coder on this project this is one of the most complex gamemodes I have by far ever played and worked on. And also, he has bragging writes since this is an orginal concept for Garry's mod.[/QUOTE]
[url=http://www.game-monitor.com/garrysmod2_GameServer/66.216.25.32:27015/DarklandServers.com_RP.html][img]http://module.game-monitor.com/66.216.25.32:27015/image/default/default.png[/img][/url]
[url=http://www.game-monitor.com/garrysmod2_GameServer/66.216.25.30:27015/DarklandServers.com_FortWars_2.html][img]http://module.game-monitor.com/66.216.25.30:27015/image/default/default.png[/img][/url]
These are mine but w/e
was this inspired by eve online? because its very boring.
Honestly, its not that complex.
[QUOTE='-[ Fizzadar ]-;14574387']Honestly, its not that complex.[/QUOTE]
its not complex i know that. But its a unfinished gamemode. Currently everyone is mining for new ships. Adding requirements for weapons and NPCs to kill. also some Jobs and such
[QUOTE=del-re-re;14573143]was this inspired by eve online? because its very boring.[/QUOTE]
no am just doing what people said and thats it.
[QUOTE=themaw;14574851] no am just doing what people said and thats it.[/QUOTE]
Stop listing to Roleplayers, they don't know how to have fun.
[QUOTE=themaw;14574851]its not complex i know that. But its a unfinished gamemode. Currently everyone is mining for new ships. Adding requirements for weapons and NPCs to kill. also some Jobs and such
[/QUOTE]
Don't get me wrong, I wasn't criticising, just replying to the above ^^
Good work though :)
[QUOTE=$SLIMSWITCH$;14550407]
Content Pack: [url]http://sunrisecontentpack.googlecode.com/svn/trunk/[/url][/QUOTE]
Unable to download, get:
[img]http://hailaeros.com/ZScreen_Uploads/SS-20090410173324.png[/img]
[QUOTE='-[ Fizzadar ]-;14576036']Don't get me wrong, I wasn't criticising, just replying to the above ^^
Good work though :)[/QUOTE]
Eve online wasn't that complex for me, it was just as boring as watching golf.
Sorry, you need to Log In to post a reply to this thread.