• WarMelons:RTS-Original Warmelons Reborn
    1,179 replies, posted
  • Lap. I need to ask you a question and please reply. Are you still working on the WM:RTS mod or is it dead? Because for about 2 days ago i had a full working version and then i downloaded the newest version from your download link and deleted the old version and now nothing of it works. Not one thing, i get errors evry i spawn a spawn point or a resurce node or cap point or oplink and when i spawn melons please help me. Or at least answer my question. Ps. It is a Fucking nice mod you are making i wish i could do it like that and if you need another beta tester just ask me i have in long time wished to be a beta tester for some awesome stuff and this is very awesome. please reply.
  • Hi, sorry I didnt notice the errors. I checked my bugreport log and apparently this was reported to me 8 days ago, so I checked into it. I think I fixed it on my server now, it had to do with 9 occurances of "SetAngles(Vector(" and 1 occurance of "SetAngles( Vector(" (and some other that isnt as easy to find using np++ find in files). I heard a recent gmod update made setangles not accept vectors, altough I havent found any real confirmation on that. Not sure if SetAngles(Vector()) used to result in Vector():Angle() or Angle(Vector()). Due to some tests with stuff I remember in which way they worked, I think it was Angle(Vector()). The errors pop up in other addons aswell, but it isnt to hard to fix them ;). For other people who got this error, simply change Vector( to Angle( and you should be fine. There is however some other occurances that is not like that, hope I found all: [B]All those are the same lua code:[/B] [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_spawnpoints.lua:117] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_outposts.lua:74] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_resnodes.lua:25] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_uplinks.lua:24] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_cappoints.lua:23] bad argument #1 to 'SetAngles' (Angle expected, got Vector) melon:SetAngles (trace.HitNormal) -> melon:SetAngles (Angle(0,0,0)) I do not remember ever seeing those getting spawned in odd angles (The reason I think SetAngles(Vector()) used to do Angle(Vector())). Thus I make it always spawn with Angle(0,0,0). [B]All those are the same lua code:[/B] [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/fightars.lua:54] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_strikers.lua:42] bad argument #1 to 'SetAngles' (Angle expected, got Vector) melon:SetAngles (Ang); -> melon:SetAngles (Ang:Angle()); Here it use a variable named Ang, which on line 22 in first file and 23 in second: local Ang = trace.HitNormal. [B]All those are the same lua code:[/B] [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_cannons.lua:43] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_harvesters.lua:44] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/l_fightars.lua:52] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_mgs.lua:43] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/ordermelons.lua:55] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/pcannons.lua:41] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_snipers.lua:42] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/medics.lua:45] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_superweapons.lua:56] bad argument #1 to 'SetAngles' (Angle expected, got Vector) melon:SetAngles (trace.HitNormal); -> melon:SetAngles (trace.HitNormal:Angle()); This will make it have a better angle relative the surface you weld it to. [@gamemodes/WarMelonsRTS/entities/entities/lap_mortar/init.lua:64] bad argument #1 to 'SetAngles' (Angle expected, got Vector) expl:SetAngles(angle); -> expl:SetAngles(angle:Angle()); [B]This error gets spammed clientside:[/B] [@weapons\gmod_tool\stools\nobuildareas.lua:88] bad argument #1 to 'SetAngles' (Angle expected, got Vector) ent:SetAngles( trace.HitNormal ) -> ent:SetAngles( trace.HitNormal:Angle() ) This error spams clientside, probably because of a ghost. shouldnt matter what angle it has if its a ghost, so maybe just convert vector to angle? Remember the tool is admin only. Hope this helped, and I am sorry for taking such long time before reading my bugreport.txt :S.
  • [QUOTE=Feha;24897550]Hi, sorry I didnt notice the errors. I checked my bugreport log and apparently this was reported to me 8 days ago, so I checked into it. I think I fixed it on my server now, it had to do with 9 occurances of "SetAngles(Vector(" and 1 occurance of "SetAngles( Vector(" (and some other that isnt as easy to find using np++ find in files). I heard a recent gmod update made setangles not accept vectors, altough I havent found any real confirmation on that. Not sure if SetAngles(Vector()) used to result in Vector():Angle() or Angle(Vector()). Due to some tests with stuff I remember in which way they worked, I think it was Angle(Vector()). The errors pop up in other addons aswell, but it isnt to hard to fix them ;). For other people who got this error, simply change Vector( to Angle( and you should be fine. There is however some other occurances that is not like that, hope I found all: [B]All those are the same lua code:[/B] [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_spawnpoints.lua:117] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_outposts.lua:74] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_resnodes.lua:25] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_uplinks.lua:24] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_cappoints.lua:23] bad argument #1 to 'SetAngles' (Angle expected, got Vector) melon:SetAngles (trace.HitNormal) -> melon:SetAngles (Angle(0,0,0)) I do not remember ever seeing those getting spawned in odd angles (The reason I think SetAngles(Vector()) used to do Angle(Vector())). Thus I make it always spawn with Angle(0,0,0). [B]All those are the same lua code:[/B] [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/fightars.lua:54] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_strikers.lua:42] bad argument #1 to 'SetAngles' (Angle expected, got Vector) melon:SetAngles (Ang); -> melon:SetAngles (Ang:Angle()); Here it use a variable named Ang, which on line 22 in first file and 23 in second: local Ang = trace.HitNormal. [B]All those are the same lua code:[/B] [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_cannons.lua:43] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_harvesters.lua:44] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/l_fightars.lua:52] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_mgs.lua:43] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/ordermelons.lua:55] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/pcannons.lua:41] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_snipers.lua:42] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/medics.lua:45] bad argument #1 to 'SetAngles' (Angle expected, got Vector) [@gamemodes/WarMelonsRTS/entities/weapons/gmod_tool/stools/lap_superweapons.lua:56] bad argument #1 to 'SetAngles' (Angle expected, got Vector) melon:SetAngles (trace.HitNormal); -> melon:SetAngles (trace.HitNormal:Angle()); This will make it have a better angle relative the surface you weld it to. [@gamemodes/WarMelonsRTS/entities/entities/lap_mortar/init.lua:64] bad argument #1 to 'SetAngles' (Angle expected, got Vector) expl:SetAngles(angle); -> expl:SetAngles(angle:Angle()); [B]This error gets spammed clientside:[/B] [@weapons\gmod_tool\stools\nobuildareas.lua:88] bad argument #1 to 'SetAngles' (Angle expected, got Vector) ent:SetAngles( trace.HitNormal ) -> ent:SetAngles( trace.HitNormal:Angle() ) This error spams clientside, probably because of a ghost. shouldnt matter what angle it has if its a ghost, so maybe just convert vector to angle? Remember the tool is admin only. Hope this helped, and I am sorry for taking such long time before reading my bugreport.txt :S.[/QUOTE] can u plz type where to change it? I mean wich folder? and wich file? EDIT: Can you pack the lua files to a .rar file and send them to me somehow? that could help me alot. Please help me!?
  • Avatar of smaily666
  • I get the same error´s as matias-dk and I would be happy to know where to put in the changes too :)
  • [QUOTE=smaily666;24907287]I get the same error´s as matias-dk and I would be happy to know where to put in the changes too :)[/QUOTE] I am glad to see That I am not the only one :D
  • Avatar of Treelor
  • Feha, if you've fixed it, just slap a fix on gmod.org or filesmelt. Not everybody has the programming knowledge to know how to properly edit a .lua file (as unbelievably easy as it is).
  • [QUOTE=StickyNade;24911244]Feha, if you've fixed it, just slap a fix on gmod.org or filesmelt. Not everybody has the programming knowledge to know how to properly edit a .lua file (as unbelievably easy as it is).[/QUOTE] That is a good idea :) [editline]10:12AM[/editline] Just one more question. Can someone please write a list of stuff needed other than Warmelons and maybe links and if possible svn links.?
  • I might post a .zip fix, but not yet, as I am quite sure I cant have found all the errors already. No need to post several .zip fixes :P. Also, the information I posted should suffice. The errors point you to the file, and what line, and then I post the old line -> new line. Editing lua with this information is like editing a txt... But yeah, I guess I can post a fix soon...
  • [QUOTE=Feha;24915725]I might post a .zip fix, but not yet, as I am quite sure I cant have found all the errors already. No need to post several .zip fixes :P. Also, the information I posted should suffice. The errors point you to the file, and what line, and then I post the old line -> new line. Editing lua with this information is like editing a txt... But yeah, I guess I can post a fix soon...[/QUOTE] Thank you very much :D And i dont understood where to edit vector( to angle( i found the files but it didnt work what i tried so i guess i did it wrong :p
  • [url]http://www.megaupload.com/?d=678BX7GL[/url] This isnt the full gamemode, just the files I found errors for so far (and fixed). Some files might contain additional fixes, not sure. ps: while making this .zip I accidently did a shift+delete removal of several files in my "backup" wmrts folder. Lets hope I do not need anything from there :P. Doubt I will, its just slightly annoying that I deleted it. :P
  • Avatar of Tark
  • [QUOTE=Feha;24917579][url]http://www.megaupload.com/?d=678BX7GL[/url] This isnt the full gamemode, just the files I found errors for so far (and fixed). Some files might contain additional fixes, not sure. ps: while making this .zip I accidently did a shift+delete removal of several files in my "backup" wmrts folder. Lets hope I do not need anything from there :P. Doubt I will, its just slightly annoying that I deleted it. :P[/QUOTE] wow smooth moves
  • [QUOTE=Feha;24917579][url]http://www.megaupload.com/?d=678BX7GL[/url] This isnt the full gamemode, just the files I found errors for so far (and fixed). Some files might contain additional fixes, not sure. ps: while making this .zip I accidently did a shift+delete removal of several files in my "backup" wmrts folder. Lets hope I do not need anything from there :P. Doubt I will, its just slightly annoying that I deleted it. :P[/QUOTE] Thank you very very much omfg you just saved my day :D EDIT: I think I have spottet a error when i Right click whidth mouse width TRANSPORT tool it says: [gamemodes\warmelonsrts\entities\weapons\gmod_tool\stools\lap_transport.lua:164] attempt to perform arithmetic on local 'cost' (a nil value) Is it me or is it a error?
  • Avatar of LiquidBullet
  • [QUOTE=Feha;24917579][url]http://www.megaupload.com/?d=678BX7GL[/url] This isnt the full gamemode, just the files I found errors for so far (and fixed). Some files might contain additional fixes, not sure. ps: while making this .zip I accidently did a shift+delete removal of several files in my "backup" wmrts folder. Lets hope I do not need anything from there :P. Doubt I will, its just slightly annoying that I deleted it. :P[/QUOTE] I love you
  • [QUOTE=Feha;24917579][url]http://www.megaupload.com/?d=678BX7GL[/url] This isnt the full gamemode, just the files I found errors for so far (and fixed). Some files might contain additional fixes, not sure. ps: while making this .zip I accidently did a shift+delete removal of several files in my "backup" wmrts folder. Lets hope I do not need anything from there :P. Doubt I will, its just slightly annoying that I deleted it. :P[/QUOTE] I have spottet some more errors if you want them. in the lasers: [@gamemodes\warmelonsrts\entities\entities\johnny_laser_l\init.lua:25] bad argument #1 to 'SetAngles' (Angle expected, got Vector) and launchers: [gamemodes\warmelonsrts\entities\weapons\gmod_tool\stools\lap_launchers.lua:139] attempt to index field '?' (a nil value) And sometimes i get errors when rightclick? just if you want to know :D EDIT: Another error in the mortar evry time it shoots you get this error [@gamemodes\warmelonsrts\entities\entities\lap_mortar\init.lua:71] bad argument #1 to 'SetAngle' (Angle expected, got Vector) Just tell me if you dont care. But if you care i'm glad to help :D
  • Avatar of smaily666
  • [QUOTE=matias-dk;24922043]I have spottet some more errors if you want them. in the lasers: and launchers: And sometimes i get errors when rightclick? just if you want to know :D [/QUOTE] I found the same error :S and sadly i´m not that good at LUA and scripting.
  • Avatar of 343N
  • We need a full working download of LAP's one. Where there is invasion and shit.
  • Due to popular demand I decided to release what I got so far on my server. This is not a bug free version even at time of uploading, and it is even worse in singleplayer. I uploaded it mostly for people who want to use it in singleplayer (create a listen server) to build, or those who want to lan with friends, but if you decide to make a server, go ahead. It is not just to drop it in gamemode folder, as I included 2 addons, laps modified adv dupe and the warmelons modelpack. Also included a data folder, altough I dont think all of it is required. Some might be though (havent tested). [URL]http://rapidshare.com/files/425495377/WMRTS_2010-10-17.zip[/URL] Have fun ;)
  • [QUOTE=Feha;25448333]Due to popular demand I decided to release what I got so far on my server. This is not a bug free version even at time of uploading, and it is even worse in singleplayer. I uploaded it mostly for people who want to use it in singleplayer (create a listen server) to build, or those who want to lan with friends, but if you decide to make a server, go ahead. It is not just to drop it in gamemode folder, as I included 2 addons, laps modified adv dupe and the warmelons modelpack. Also included a data folder, altough I dont think all of it is required. Some might be though (havent tested). [URL]http://rapidshare.com/files/425495377/WMRTS_2010-10-17.zip[/URL] Have fun ;)[/QUOTE] Thank you very much. :)
  • [QUOTE=Magmacow358;26023630]Cool mod, but it sounds like their are no servers and that the mod is dead....[/QUOTE] I am starting a server soon :D So don't worry!.
  • Avatar of elowin
  • [QUOTE=matias-dk;26038554]I am starting a server soon :D So don't worry!.[/QUOTE] :biggrin:
  • [QUOTE=superstepa;26154768]Any possible way not to use binds? My keyboard is full[/QUOTE] I dont think so buddy :I
  • Avatar of Col shepard
  • Wow this is a great upload and I have nothing negative to say about it. It is much better then any of my work which I will not post a link to