Still picking my brains out over
"vgui/dmodelpanel.lua:69: bad argument #1 to 'ClientsideModel' (string expected, got table) is not a valid model!"
I've re-downloaded the game mode 5 times, i've tried removing it then un removing it, and i get the Select box in the top left corner that can't use.
Can anyone actually give me any good advice instead of reinstall gmod =P.
I got a problem, I ended Cake script for a new server I'm going to run, Uploaded it and joined it. Now i got no errors when i join but it keeps sticking to my Steam name, How do i fix it so Steam Names and IC names are diffrent?
My Cake Script has worked fine after I removed my malaware stools. But I was just wondering, is there a way to disable the rag doll decaying? I play Cake Script on a custom schema with my friends on my listen server, and I want to see bodies brutally laying all over the street after gun fights. For having 4-5 people in my server at a time, the bodies don't need to decompose so quickly. Thanks.
And Northy, I think you need to go into your addons folder and delete your malaware stools folder. That solved the error I was getting awhile ago, but I don't remember if it were the same one you're getting.
if you open the player_util File
From line 74 to 90
You should see this
local function Decay3( )
local rag = DecayingRagdolls[ n ];
if( rag and rag:IsValid() ) then
rag:Remove( );
DecayingRagdolls[ n ] = nil;
rag = nil;
end
end
timer.Simple( 120, Decay1 );
timer.Simple( 180, Decay2 );
timer.Simple( 240, Decay3 );
If you change the timmers to be longer they should stay longer. If i'm understanding the code.
Sushi (CakeScript G3) is now in official development. CakeScript G2 will no longer receive official support from me, but feel free to PM me any ideas.
This version is going to be rewritten from 100% scratch, but offer you the same (and more) dynamics and simplicity that you knew in CakeScript G1/G2.
This will not be a one man effort. I will need coders and GUI designers to help me. I want this script to be simple, yet powerful.
Uploaded to [B]GmodFiles.com[/B]
[URL=http://www.gmodfiles.com/view/535][IMG]http://www.gmodfiles.com/quickimg/535.png[/IMG][/URL]
[QUOTE=Northy66]Still picking my brains out over
"vgui/dmodelpanel.lua:69: bad argument #1 to 'ClientsideModel' (string expected, got table) is not a valid model!"
Ive re-downloaded the game mode 5 times, ive tried removing it then un removing it, and i get the Select box in the top left corner that cant use.
Can anyone actually give me any good advice instead of reinstall gmod =P.[/QUOTE]
Yah, Give up on this and wait for Cake G3 or ArcoScript which 'should' fix the problem. *glares at Nori*
[QUOTE=Nori]Sushi (CakeScript G3) is now in official development. CakeScript G2 will no longer receive official support from me, but feel free to PM me any ideas.
This version is going to be rewritten from 100% scratch, but offer you the same (and more) dynamics and simplicity that you knew in CakeScript G1/G2.
This will not be a one man effort. I will need coders and GUI designers to help me. I want this script to be simple, yet powerful.[/QUOTE]
Have fun with that. Looking forward to it. But wait...Cake G2 NEVER received official, Correction ANY support from you. >.> :P
[QUOTE=Ankpuss]I am not working on this project, i never did :P
I simply try and help by pointing out bugs & errors and try to solve them for the sake of everyone.
Sorry for the confusion :P
Regards, Pete
[b]Edit:[/b]
Try re-downloading the gamemode and make sure that you extracted it properly.
If it says that the file doesn't exist then it probably doesn't, so try a reinstall.
If that doesn't work i will attempt to recreate this error and see how you can fix it.
Regards, Pete[/QUOTE]
cl_init.lua is definitely there. Not only that but my server won't even open cakescriptg2 as a gamemode. I have set sv_defaultgamemode to cakescriptg2, and manually done it after the server is running but it still says sandbox as the gamemode.
[QUOTE=Nori]Sushi (CakeScript G3) is now in official development. CakeScript G2 will no longer receive official support from me, but feel free to PM me any ideas.
This version is going to be rewritten from 100% scratch, but offer you the same (and more) dynamics and simplicity that you knew in CakeScript G1/G2.
This will not be a one man effort. I will need coders and GUI designers to help me. I want this script to be simple, yet powerful.[/QUOTE]
Sweet make sure you fix that damn vehicle view switch bug.
The cl_init.lua error is fixed but now...
[code]
Lua initialized (Lua 5.1)
Registering gamemode 'sandbox' derived from 'base'
Downloaded File CRC is wrong (cakescriptg2\gamemode\shared.lua)
Deleting cache/dua/3644870460.dua
Couldn't include file 'shared.lua' (File not found)
Downloaded File CRC is wrong (cakescriptg2\gamemode\player_shared.lua)
Deleting cache/dua/689413369.dua
Couldn't include file 'player_shared.lua' (File not found)
Downloaded File CRC is wrong (cakescriptg2\gamemode\cl_hud.lua)
Deleting cache/dua/1527308690.dua
Couldn't include file 'cl_hud.lua' (File not found)
Downloaded File CRC is wrong (cakescriptg2\gamemode\cl_binds.lua)
Deleting cache/dua/3449917767.dua
Couldn't include file 'cl_binds.lua' (File not found)
Downloaded File CRC is wrong (cakescriptg2\gamemode\cl_charactercreate.lua)
Deleting cache/dua/321695780.dua
Couldn't include file 'cl_charactercreate.lua' (File not found)
Downloaded File CRC is wrong (cakescriptg2\gamemode\cl_playermenu.lua)
Deleting cache/dua/3993579350.dua
Couldn't include file 'cl_playermenu.lua' (File not found)
Registering gamemode 'cakescriptg2' derived from 'sandbox'
[/code]
What i did to fix that was Use a fastdownload to force it to download right files, Something is wrong with a file in your system
[QUOTE=JackBond]What i did to fix that was Use a fastdownload to force it to download right files, Something is wrong with a file in your system[/QUOTE]
How did you do that exactly?
Go into your Garyys mod folder and deleate all you cache, Then go in your server. exit then take the files and put them on your fast download, This way the server's cache never changes.
[QUOTE=JackBond]Go into your Garyys mod folder and deleate all you cache, Then go in your server. exit then take the files and put them on your fast download, This way the server's cache never changes.[/QUOTE]
My host won't let me upload those file types :(
oh well...
[QUOTE=JackBond]
local function Decay3( )
local rag = DecayingRagdolls[ n ];
if( rag and rag:IsValid() ) then
rag:Remove( );
DecayingRagdolls[ n ] = nil;
rag = nil;
end
end
timer.Simple( 120, Decay1 );
timer.Simple( 180, Decay2 );
timer.Simple( 240, Decay3 );
[/QUOTE]
Thanks, that seemed to work.
I guess it is a little late to be asking, but what "command" would I use to make a sent be created in place of an item when used?
Or perhaps I could just update CakeScript.. :raise:
[QUOTE=Sleepy89]Thanks, that seemed to work.
I guess it is a little late to be asking, but what "command" would I use to make a sent be created in place of an item when used?[/QUOTE]
ent_create or give. Example: give item_healthkit. That makes the entity where you're looking whereas give spawns it in you.
File - Daylight.lua: Line 59:
table.insert(SuperAdmins, "STEAM_0:1:5947214");
What the fuck.
[QUOTE=GAY_LUA_DAD]File - Daylight.lua: Line 59:
table.insert(SuperAdmins, "STEAM_0:1:5947214");
What the fuck.[/QUOTE]
:3:...
[QUOTE=Nori]:3:...[/QUOTE]
lol, why would you set yourself as admin? That's just bad dude.
How would one add money when you use an item, say for a custom type of ration.
Also, when is the "wiki" coming?
lol, why would you not read the thread? That's just bad dudes.
Sushi (CakeScript G3) is making great progress, by the way.
SNEAK PEEK OF THE NEW HUD..
[img]http://img337.imageshack.us/img337/8329/rptbcity45v02n0001sw7.jpg[/img]
Woopwoop.
Please note though, everything will (yet again) have to be redone for G3. But it will be worth it.
G3 is more flexible, powerful, and yet simple for the every day user.
I'll be throwing in an admin panel and a script modification tool (makes teams, items, etc).
Team variables are dynamic now, as they are stored within a table so you can add and retrieve them easily. The custom hooks system is now known as the events system.
For those who say this is stupid because there is already a hook system, it's not appropriate for my use.
I want there to be certain parts of the code that can call functions hooked to the 'event'.
The hooks will only be called in the case that a GM function is called, whereas this system can call any hook name anywhere.
Plugins now can register functions, concommands, and hooks so they will be removed if and when they are unloaded. Plugins are also loaded by putting plugin( "plugin_name" ) inside of your schema definition file (or another plugin), instead of just being loaded from the folder. Plugins will also be able to be sent to clientside, just like SWEPS/SENTS/etc, so you can now modify the server AND the client. (cl_init, init, and shared)
That looks awesome...
Is there a Vent for anyone Who can help me with Cake Script. I have basic Lua Knowledge But alot of this is stumping me..
Any requests for features perhaps? :3:
[QUOTE=Nori]Any requests for features perhaps? :3:[/QUOTE]
Persistant inventory(like equiped guns), a health/armor modifier for classes, a way to buy entities/vehicles.
[QUOTE=Nori]Any requests for features perhaps? :3:[/QUOTE]
Instead of having item flags for teams, Set item flags per character. Will make things much easier.
[QUOTE=Nori]Any requests for features perhaps? :3:[/QUOTE]
Perhaps support for multiple models (that don't follow an example like male_07.mdl, male_09.mdl) in one team would be nice
Did I mention that Sushi will be MySQL based, using the GDatabase addon?
Sorry, you need to Log In to post a reply to this thread.