.Php Script for new Custom Points
hi mates, i am new to develop especially in web developing (.php & html), it was my 1st time to encounter things like this, cause atm i enrolled in college's with the course of programming, can you help me on how could i imply a new things like credit value?.
well if you don't get it here's what i am asking for, an additional script like credits points.
http://i.imgur.com/K6hRVcS.png
can you give a php script for this mate?
in Webshop Written as: Vanity Point
in main page written as: Vanity Point too which is belong the users info.
and dealing with this, i want to know on how we could add manually the VP (Vanity Points) for the MEM_ID using the database (for server administrator's only)
like in this thread: http://forum.ragezone.com/f196/trans...h-shop-786450/
i think its related with some script.
pls help me step by step guys, i need only a working .php script for this. thank you mates!
sorry for my bad English.
Re: .Php Script for new Custom Points
Code:
USE MuOnline
GO
UPDATE MEMB_INFO
SET Vanity_Point = Vanity_Point + 50 where memb__id = 'account'
GO
I dont know where are stored Vanity Points in your database, so just change name of table and column and also value what you want to add.
Re: .Php Script for new Custom Points
Quote:
Originally Posted by
jacubb
Code:
USE MuOnline
GO
UPDATE MEMB_INFO
SET Vanity_Point = Vanity_Point + 50 where memb__id = 'account'
GO
I dont know where are stored Vanity Points in your database, so just change name of table and column and also value what you want to add.
is that the code you we're written is the code to add up in the database? ca i used that code in TitanTech Client ?
can also some screenshot too, so i can simply understand it.? mate?
Re: .Php Script for new Custom Points
Quote:
Originally Posted by
FatalWorkz
is that the code you we're written is the code to add up in the database? ca i used that code in TitanTech Client ?
can also some screenshot too, so i can simply understand it.? mate?
That code is indeed what you'll put in in your sql query.
If you are writing a php for this, all you do is to invoke that query, and other queries.
the query above add Vanity_Point by 50 to a given account.
Your best bet - since you're learning no less - is to look at the other files concerning other points in MUCore, and try to build on those.
Notice that mssql method is outdated, you're supposed to use ODBC or Microsoft's new MSSQL support plugin.
Re: .Php Script for new Custom Points
Quote:
Originally Posted by
nemoma
That code is indeed what you'll put in in your sql query.
If you are writing a php for this, all you do is to invoke that query, and other queries.
the query above add Vanity_Point by 50 to a given account.
Your best bet - since you're learning no less - is to look at the other files concerning other points in MUCore, and try to build on those.
Notice that mssql method is outdated, you're supposed to use ODBC or Microsoft's new MSSQL support plugin.
can i used this one: Microsoft Office Access 2007
for some practices?
actually i was only a co-developer i didn't created yet any database for my own ever since i downloaded a Sql Server 2005 but i got a problem too many things to stabilize, its worth of time cause of many functions, can you give me a download link for sql server 2000 which is fitted in creating a mu server. thank you nemoma (mate) . :) i was learning by reading!
Re: .Php Script for new Custom Points
TT don't support Sql server 2000 anymore.
If you have Windows Server 2003 or 2008 it should have the newest Sql Server built in, use that.
Office Access is no sell though.
Re: .Php Script for new Custom Points
Quote:
Originally Posted by
nemoma
TT don't support Sql server 2000 anymore.
If you have Windows Server 2003 or 2008 it should have the newest Sql Server built in, use that.
Office Access is no sell though.
hello mate, do you have a facebook account so we can chat longer i really need your help, pls help me, I'd like to know on how could i install the mu server to the database and thank you in advanced, add me in Facebook mate: Warzz_008@yahoo.com
Re: .Php Script for new Custom Points
I don't work for others for free though (I myself are quite busy), all I could is point out the directions, you may want to look at the Help Archive and/or Tutorial Subforum, there are lots of tutorials on how to work with servers.
Re: .Php Script for new Custom Points
Quote:
Originally Posted by
nemoma
I don't work for others for free though (I myself are quite busy), all I could is point out the directions, you may want to look at the Help Archive and/or Tutorial Subforum, there are lots of tutorials on how to work with servers.
hmm ok mate, i have other question's, can i just create a new notepad set as config and named as SCFVP_Points.cfg? cause i think i can copy the script for "Credits" and all i need to do is rename the said directories and add this new stuff as custom points named as "Vanity Points". anyway thank you mate, if you like i will hire you if you will go helping & working us together :)
Re: .Php Script for new Custom Points
Quote:
Originally Posted by
FatalWorkz
hmm ok mate, i have other question's, can i just create a new notepad set as config and named as SCFVP_Points.cfg? cause i think i can copy the script for "Credits" and all i need to do is rename the said directories and add this new stuff as custom points named as "Vanity Points".
I'm pretty sure that you cannot do that, the TT server isn't as extendable as you may think (even though it's already pretty much extendable, just not that).