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

MysQl install...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 09-03-2004 , 16:39   MysQl install...
Reply With Quote #1

How do I install the xp to save in my mysql database ?
Quote:
Originally Posted by docs
If you are using the mysql saving method you will want to import the shero_mysql_install.sql script (in contrib folder) into your database. You should edit it to reflect the correct database name and username for your setup. If you need to ask about how to do this then you should not be using mysql saving, stick to the vault.
But it does not say anything about I have to edit any files, cuz what I have done so far doesn't work...

(-Yes I have created the 2 databases in my mysql)

Anyone who can help me ?
__________________
//ShadowLeader - 123
123 is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 09-03-2004 , 16:42  
Reply With Quote #2

are you using the superheromodmysql.amx plugin? instead of the vault one..... duh

also edit the shconfig.cfg and put in the correct values for the cvars
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 09-03-2004 , 16:51  
Reply With Quote #3

Okay...
This is what I have done:

Quote:
Originally Posted by shconfig.cfg
// *** MySQL Settings, Only Needed if using the mysql saving method ***
// Uncomment the cvar lines to enable these settings

//sh_mysql_host "localhost"
//sh_mysql_user "My_user"
//sh_mysql_pass "My_pass"
//sh_mysql_db "My_DB"
My database is called tha_design_dk, cuz I can create my own (that is called AMX normally)

I have uploaded the 'shero_mysql_install.sql' and I haven't used the superheromodvault.amx (I think not)

Is there any other things I have to do ?
__________________
//ShadowLeader - 123
123 is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 09-03-2004 , 16:57  
Reply With Quote #4

Quote:
are you using the superheromodmysql.amx plugin?
cause you need to... and all you said was you were not using the vault one, so for all I know is your not using either...

Quote:
// Uncomment the cvar lines to enable these settings
might want to try following the directions in the config file also....
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 09-03-2004 , 16:59  
Reply With Quote #5

Okay now I have typed: superheromodvault.amx in plugins.ini, any more ?
__________________
//ShadowLeader - 123
123 is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 09-03-2004 , 17:11  
Reply With Quote #6

are you fricking blind? read my entire post above I stated two things you needed to do.....

neither of which was loading the vault.amx file
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 09-03-2004 , 17:22  
Reply With Quote #7

well..
I have done that now, and it still doesn't work...
This is how my plugins.ini looks:
Quote:
Originally Posted by plugins.ini
; AMX Mod plugins

admin.amx ; admin base (required for any admin-related)
;admin_mysql.amx ; admin base - MySQL version (comment admin.amx)
admincmd.amx ; basic admin console commands
adminhelp.amx ; help command for admin console commands
adminslots.amx ; slot reservation
menufront.amx ; front-end for admin menus
cmdmenu.amx ; command menu (speech, settings)
plmenu.amx ; players menu (kick, ban, client cmds.)
restmenu.amx ; restrict weapons menu
mapsmenu.amx ; maps menu (vote, changelevel)
antiflood.amx ; prevent clients from chat-flooding the server
adminchat.amx ; console chat commands
adminvote.amx ; vote commands
nextmap.amx ; displays next map in mapcycle
timeleft.amx ; displays time left on map
mapchooser.amx ; allows to vote for next map
scrollmsg.amx ; displays a scrolling message
imessage.amx ; displays information messages
welcomemsg.amx ; console motd @ client connection
stats.amx ; stats on death or round end (CSStats Module required!)
stats_logging.amx ; weapons stats logging (CSStats Module required!)
telemenu.amx ; teleport menu (Fun Module required!)
miscstats.amx ; bunch of events announcement for Counter-Strike
pausecfg.amx ; allows to pause and unpause some plugins
statscfg.amx ; allows to manage stats plugins via menu and commands
swear_filter.amx
italy_bonus_kill.amx
headshot_deluxe.amx
ut_killing_spree.amx
amx_ejl_nukem.amx
knife_arena.amx
tracer_fire.amx
roll_the_dice_plugin.amx
admin_noclip.amx
sh_slots.amx
superior_pistols_only.amx

;***** Superheromod *****
superheromodvault.amx ; SUPERHERO MOD
superheromodmysql.amx ; MYSQL
sh_anubis.amx ; 1
sh_can.amx ; 1
sh_shangchi.amx ; 1
sh_skeletor.amx ; 1
sh_Sonic.amx ; 1
sh_windwalker.amx ; 1

sh_dazzler.amx ; 2
sh_dracula.amx ; 2
sh_greengoblin.amx ; 2
sh_hulk.amx ; 2
sh_superman.amx ; 2

sh_captaina.amx ; 3
sh_tracy.amx ; 3
sh_robin.amx ; 3
sh_spiderman.amx ; 3
sh_warmachine.amx ; 3

sh_daredevil.amx ; 4
sh_quicksand.amx ; 4
sh_xavier.amx ; 4
sh_hobgoblin.amx ; 4

sh_batman.amx ; 5
sh_medic.amx ; 5


sh_beast.amx ; 6
sh_blade.amx ; 6
sh_cyclops.amx ; 6
sh_punisher.amx ; 6
sh_posionivy.amx ; 6

sh_blink.amx ; 7
sh_bullseye.amx ; 7
sh_dukenukem.amx ; 7
sh_thor.amx ; 7
sh_vip.amx ; 7
weaponx.amx ; 7
sh_wolverine.amx ; 7

sh_alien.amx ; 8
sh_diablo.amx ; 8
sh_hawkeye.amx ; 8

sh_madness.amx ; 9
sh_batgirl.amx ; 9
Is anything wrong with that ?
__________________
//ShadowLeader - 123
123 is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 09-03-2004 , 17:48  
Reply With Quote #8

Quote:
are you using the superheromodmysql.amx plugin? instead of the vault one..... duh
do you have a reading problem?

you need to use the MYSQL plugin and NOT NOT NOT NOT NOT the vault one..... this does not mean use both, it means use JUST the MYSQL plugin.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
123
Veteran Member
Join Date: Apr 2005
Location: Katy, TX
Old 09-03-2004 , 17:51  
Reply With Quote #9

do you then mean that I have to remove superheromodvault.amx from plugins.ini and replace it with superheromodmysql.amx ???

-> And no I don't have a reading problem, I just don't understand what you mean...
__________________
//ShadowLeader - 123
123 is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 09-03-2004 , 17:53  
Reply With Quote #10

;
;
;
;
;
;
;
;
;
;
;

; superheromodvault.amx
superheromodmysql.amx
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
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 08:37.


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