Hello all, Releasing the RPG gamemode I was working on.
Not going to bother making a pretty thread.
It's unfinished and if you can't code, don't bother downloading it.
It runs off of some modules made by Spacetech(gm_pvs,gm_astar,gm_tracex), as well as gm_tmysql from Azuisleet.
Requires a mysql database, tmysql.initialize is not actually called in the gamemode so you'll have to add that yourself.
rpg_editor in console for the in game editor of the map.
gm_pvs - [url]http://www.facepunch.com/showthread.php?t=953788[/url]
gm_tracex - [url]http://www.facepunch.com/showthread.php?t=953777[/url]
gm_navigation(replace the gm_astar interface code with this) - [url]http://www.facepunch.com/showthread.php?t=953805[/url]
[url=http://www.garrysmod.org/downloads/?a=view&id=101756][img]http://www.garrysmod.org/img/?t=dll&id=101756[/img][/url]
Alright. Cheers, it's a good gm. :golfclap:
I will admit I am kind of disappoint that you didn't go through all the way with this, constantly improving it. But hey, it was your decision.
[QUOTE=Chuckl3s;22619174]I will admit I am kind of disappoint that you didn't go through all the way with this, constantly improving it. But hey, it was your decision.[/QUOTE]
Yeah same. I was hoping you'd find someone else to do it with.
GL to anyone who picks it up.
Already 23 Downloads lol
I hoped you'd go further with this gamemode (when it was still a private GM).
It was fun before I started crashing, then I got tired of it.
Add a skill tree :D
im sick of these half completed gamemodes being released....
That was awesome
'twas nice while it lasted. What's happening to the RPG Admins?
[QUOTE=Lebofly;22627674]im sick of these half completed gamemodes being released....[/QUOTE]
So you would rather they not be released at all and the work lost forever?.
Wow. Fuck you.
[QUOTE=Lebofly;22627674]im sick of these half completed gamemodes being released....[/QUOTE]
Sorry, you're right, we should all just stop making gamemodes period :saddowns:
[QUOTE=Jamie932;22628138]What's happening to the RPG Admins?[/QUOTE]
Darkland's RPG will stay up if I'm not wrong
Yeah, why wouldn't it..
Thanks for releasing it.
Do you have a mysql db file to import?
Well as you said Dark it's better if another community/coder can make something of it instead of letting it die.
It's a good gamemode so far, so good luck to anyone who wants to try and finish it.
Lebofly - It's been released half finished because it was a private gamemode, as it's now no longer being coded by Darkspider there's no point in letting it die.
[QUOTE=Arrows;22630634]Thanks for releasing it.
Do you have a mysql db file to import?[/QUOTE]
No I don't but you can see the create table statements in gamemode/server/database.lua
are the maps connected like if you to to the edge of screen you travel there?
I have managed to get the gamemode working as far as the database but everything else seems to be missing.
By that i mean we need the database dump for the gamemode to work i think by the looks of it.
[QUOTE=Cookie53;22639136]are the maps connected like if you to to the edge of screen you travel there?[/QUOTE]
There's only a single map so far.
Never thought this gamemode was going to be released :O
Sad it ended like this, i might try to finish it though :golfclap: Have a heart
[QUOTE=BomBom;22649045]I have managed to get the gamemode working as far as the database but everything else seems to be missing.
By that i mean we need the database dump for the gamemode to work i think by the looks of it.[/QUOTE]
You shouldn't really need the dump. You can place trees and all that crap yourself, just use rpg_editor in console and use the tree painter. Right click doors to edit their properties.
I cant even get that far(stucks at character creation which is bugged for me)
[editline]10:44AM[/editline]
tmysql.query("SELECT count(*) FROM rpg_mapsetup",function(res,stat,err) maxRows = tonumber(res[1][1]) loadMap2() end)
Perfect exaple of why a dump is needed, i can create that one myself though
I Just Start My Server And I Appear On A Black Screen With Nothing There
Here is the dump.
[url]www.darklandservers.com/garrysmod/mapsetup.sql[/url]
And the AI maps if you need them. just drop the folder in that zip into garrysmod/data/
[url]www.darklandservers.com/garrysmod/maps.zip[/url]
[QUOTE=DarkSpider;22728420]Here is the dump.
[url]www.darklandservers.com/garrysmod/mapsetup.sql[/url]
And the AI maps if you need them. just drop the folder in that zip into garrysmod/data/
[url]www.darklandservers.com/garrysmod/maps.zip[/url][/QUOTE]
Thankyou.
Everything seems to be working now as in i don't get errors or anything but i still can't get off the main screen.
When i click to create a character i get this in the console but nothing else.
Column count doesn't match value count at row 1
In gamemode/server/database.lua, find this line (should be line 67)
[lua]
tmysql.query("INSERT INTO rpg_characters (SteamID,CharID,Skills,Money,Attributes,Gender,Equipped) VALUES ('"..pl:SteamID().."','"..selectedChar.."','','"..atts.."','"..gender.."','')",function(res,stat,lastid) if !tonumber(lastid) then print(lastid) return end umsg.Start("showHelp",pl)umsg.End() FinishUpChar(pl,lastid,nil,skill) end,2)
[/lua]
and change it to this
[lua]
tmysql.query("INSERT INTO rpg_characters (SteamID,CharID,Skills,Money,Attributes,Gender,Equipped) VALUES ('"..pl:SteamID().."','"..selectedChar.."','',"..DEFAULT_GOLD..",'"..atts.."','"..gender.."','')",function(res,stat,lastid) if !tonumber(lastid) then print(lastid) return end umsg.Start("showHelp",pl)umsg.End() FinishUpChar(pl,lastid,nil,skill) end,2)
[/lua]
I forgot to add the gold to the values list.
After fixing that you can now get past the character creation menu but you can't see your character or anything and just generally get errors.
You get this one just after the main menu.
[lua]
ERROR: GAMEMODE:'PlayerSpawn' Failed: gamemodes\darklandmmo\gamemode\util\sh_util.lua:284: attempt to perform arithmetic on local 'endurance' (a nil value)
[/lua]
Also item viewing on the tab menu gives you this.
[lua]
darklandmmo\gamemode\meta\sh_player.lua:148: attempt to perform arithmetic on a nil value
[/lua]
If we can get this into a fully working state i would quite happily put up a few servers :)
Sorry, you need to Log In to post a reply to this thread.