Raised This Month: $51 Target: $400
 12% 

-delete-


Post New Thread Reply   
 
Thread Tools Display Modes
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 06-27-2012 , 14:58   Re: [L4D2] RPG w/Store/Trails/Quests/Map Records/Save/Load/Presets! (v.3.31)
Reply With Quote #11

This requires a lot of dependencies :S I will give it a shot.
Mr. Man is offline
kiwi87
Member
Join Date: Sep 2009
Old 06-27-2012 , 19:37   Re: [L4D2] RPG w/Store/Trails/Quests/Map Records/Save/Load/Presets! (v.3.31)
Reply With Quote #12

Quote:
Originally Posted by Skyy View Post
L 06/26/2012 - 10:41:23: [manager.smx] Failed To Connect To Database: Configuration "manager_stats" not found
L 06/26/2012 - 10:41:23: [rpg3.3.smx] Failed To Connect To Database: Configuration "rpg5" not found


This is the same for kiwi. Both of you have not properly set up your database.
I can't setup database because your codes use TYPE instead of ENGINE. Newest version of mySQL 5 have removed TYPE.

e.g.
Format(TQuery, sizeof(TQuery), "CREATE TABLE IF NOT EXISTS `slevels` (`steam_id` varchar(32) NOT NULL, PRIMARY KEY (`steam_id`)) TYPE=MyISAM;");
>
Format(TQuery, sizeof(TQuery), "CREATE TABLE IF NOT EXISTS `slevels` (`steam_id` varchar(32) NOT NULL, PRIMARY KEY (`steam_id`)) ENGINE=MyISAM;");

I couldn't compile your .sp source despite installing all the required .inc
There were multiple errors I got no programming knowledge to fix those errors...

Anyone able to compile the plugin with this database file for me pls >.<!
Attached Files
File Type: sp Get Plugin or Get Source (database.sp - 78 views - 57.9 KB)

Last edited by kiwi87; 06-27-2012 at 23:31.
kiwi87 is offline
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 06-27-2012 , 22:56   Re: [L4D2] RPG w/Store/Trails/Quests/Map Records/Save/Load/Presets! (v.3.31)
Reply With Quote #13

Quote:
Originally Posted by Mr. Man View Post
This requires a lot of dependencies :S I will give it a shot.
I originally wrote it for my community back when it existed. A lot of people were asking about the plugin back then, so since the community closed down about 6 months a go, I figured I could release it publicly. I don't see the dependencies as such a bad issue, though, and they existed because they were used in conjunction with each other, so a lot of it is too heavily coded in to easily remove them. I imagine there has to be a few other public rpgs out there that don't have dependencies, I just haven't seen them posted here.
However, if someone wants to put the work in required to remove the dependencies, more power to them!

@StayOx: It is purposely set up so that each team cannot access the other team upgrades, etc. Giving them the ability to access each others menus as you're describing in that post honestly feels, to me, that it would greatly confuse players. Also, there's no language changing since this wasn't written with translation support. If it were, language for the panel would have been in whatever language you selected automatically. We had no ESL players in our community, so I had no reason to write translations. At this point, it would probably be a lot of work to add translations in everywhere.

Last edited by Skyy; 06-27-2012 at 23:02.
Skyy is offline
geds
Member
Join Date: Apr 2012
Old 06-28-2012 , 12:50   Re: [L4D2] RPG w/Store/Trails/Quests/Map Records/Save/Load/Presets! (v.3.31)
Reply With Quote #14

Error found on compilation, after change, paypal account, on the skystore.sp files.


Modification:

Quote:
// Hopefully people realize that they would probably want to edit this and make changes accordingly.
// I mean, I don't personally mind if you don't, but you might.
Format(text, sizeof(text), "How to buy Bonus points:");
DrawPanelText(menu, text);
Format(text, sizeof(text), "PayPal to my_account_team (include your steam_id)");
DrawPanelText(menu, text);
Format(text, sizeof(text), "20 SP - 1$\n100 SP + 1month Reserve Slot per 5$");
DrawPanelText(menu, text);
return menu;
}
rpg3.3.sp(281) : error 017: undefined symbol "UnlockPresetLevel"
rpg3.3.sp(281) : warning 215: expression has no effect
rpg3.3.sp(281) : error 001 expected token: ";", but found "]"
rpg3.3.sp(281) : error 029: invalid expression, assumed zero
rpg3.3.sp(281) : fatal error 127: too many error messages on one line

Compilation aborted.
geds is offline
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 06-28-2012 , 20:46   Re: [L4D2] RPG w/Store/Trails/Quests/Map Records/Save/Load/Presets! (v.3.31)
Reply With Quote #15

It seems that I actually cleaned the store addon out a lot better than I had thought. I'm currently adding the rest of the pieces to it back, at which time I'll upload a new source file.
apologies!

Edit:
I've uploaded a replacement source zip. Download it, and everything should be working perfectly.

Last edited by Skyy; 06-28-2012 at 21:19.
Skyy is offline
geds
Member
Join Date: Apr 2012
Old 06-29-2012 , 05:50   Re: [L4D2] RPG w/Store/Trails/Quests/Map Records/Save/Load/Presets! (v.3.31)
Reply With Quote #16

tank i test that

Last edited by geds; 06-29-2012 at 05:52. Reason: no read the last post
geds is offline
geds
Member
Join Date: Apr 2012
Old 06-29-2012 , 07:44   Re: [L4D2] RPG w/Store/Trails/Quests/Map Records/Save/Load/Presets! (v.3.31)
Reply With Quote #17

Now the compilation work fine, but the level up doesn't work correctly sky if u have time, come on my server please for test the mod, the database was input it's the same of the first with your plugins initial compiled by you, but now the database was not incrémented.

I think having a big problem.

Cordialy

91.121.26.143:27030
geds is offline
kiwi87
Member
Join Date: Sep 2009
Old 06-29-2012 , 08:43   Re: [L4D2] RPG w/Store/Trails/Quests/Map Records/Save/Load/Presets! (v.3.31)
Reply With Quote #18

This is my current database, its not complete right?

I was able to compile rpg3.3.sp this time under scripting.

Anyway, my server is unable to start while i run rpg3.3.smx I think theres something with database.sp...
kiwi87 is offline
geds
Member
Join Date: Apr 2012
Old 06-29-2012 , 09:23   Re: [L4D2] RPG w/Store/Trails/Quests/Map Records/Save/Load/Presets! (v.3.31)
Reply With Quote #19

that my export database:

Quote:
===Base de données rpg_rpg5
== Structure de la table achieve
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Contenu de la table achieve
== Structure de la table achieve
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Structure de la table chat_color
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Contenu de la table chat_color
== Structure de la table chat_color
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Structure de la table daily_achieve
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Contenu de la table daily_achieve
== Structure de la table daily_achieve
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Structure de la table ilevels
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Contenu de la table ilevels
== Structure de la table ilevels
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Structure de la table map_records
|------
|Colonne|Type|Null|Défaut
|------
|//**map_name**//|varchar(32)|Non|
== Contenu de la table map_records
== Structure de la table map_records
|------
|Colonne|Type|Null|Défaut
|------
|//**map_name**//|varchar(32)|Non|
== Structure de la table mounted_cat
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Contenu de la table mounted_cat
== Structure de la table mounted_cat
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Structure de la table multiplier_cat
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Contenu de la table multiplier_cat
== Structure de la table multiplier_cat
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Structure de la table nemesis_cat
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Contenu de la table nemesis_cat
== Structure de la table nemesis_cat
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Structure de la table player_cat
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Contenu de la table player_cat
== Structure de la table player_cat
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Structure de la table presets
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Contenu de la table presets
== Structure de la table presets
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Structure de la table sky_store_cat
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Contenu de la table sky_store_cat
== Structure de la table sky_store_cat
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Structure de la table slevels
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Contenu de la table slevels
== Structure de la table slevels
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Structure de la table time
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Contenu de la table time
== Structure de la table time
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Structure de la table trails
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
== Contenu de la table trails
== Structure de la table trails
|------
|Colonne|Type|Null|Défaut
|------
|//**steam_id**//|varchar(32)|Non|
my server run fine with the plugins, but just doesn't store, but i have the message.
geds is offline
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 06-29-2012 , 13:36   Re: [L4D2] RPG w/Store/Trails/Quests/Map Records/Save/Load/Presets! (v.3.31)
Reply With Quote #20

@geds: You need to refer to sourcemods wiki on setting up a database on your server.
@kiwi: Works perfectly for me, without crashing, and, as you can see here, the server does not crash when running it, and I am using the latest version of sourcemod and metamod.
On the OP, there's a link to my server running the plugin without any issues.
Skyy 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 13:02.


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