[Release] Displaying/Adding/Delete Item to ShopItemMap (no need to open SQL)

Page 1 of 7 1234567 LastLast
Results 1 to 15 of 98
  1. #1
    uNiCeRAN [GAME DEV.] lucian0127 is offline
    MemberRank
    Apr 2006 Join Date
    philippinesLocation
    281Posts

    [Release] Displaying/Adding/Delete Item to ShopItemMap (no need to open SQL)

    Ok guyz first Download the files from my attachment.

    This is the guide how to make this page works with no errors.

    Add WebLoginState to your UserInfo in RanUser DB

    1) Follow the instruction in the first Picture below.


    2) Follow the instruction in the Second Picture below.


    3) Now the last part extract the files inside your htdocs\ranCP\ folder.

    Now you can open the itemMap Table in http://yoursite/ran/home.php?page=imapping <-- ShopItemMap Table
    http://yoursite/ran/home.php?page=newitem <-- Adding item to ShopItemMap Table

    Note: You can access this page by logging in your GM account, the normal account can't access this page ^__^v

    If you do it correctly, this will happen...
    ShopItemMap


    Adding Item


    NOTE: FOR WebLoginState PROBLEM
    Just add this line in your query.php
    DEFINE("ACCOUNT_ONLINE", "UPDATE UserInfo SET WebLoginState = 1 WHERE UserName = '%s'");

    then under your UserInfo add new Column name it WebLoginState with default value of 0

    For the ShopItemMap... Make sure all of existing items has the value of 1 for ItemList if Null will not work.

    now try to browse it again...
    Updated *April, 2007 1:31pm*
    Sorry guys i got busy this pass few months hehehe... thanks to all
    Attachment Updated(Nov.9 2007 | 2pm)
    Attached Files Attached Files
    Last edited by lucian0127; 01-04-08 at 07:37 AM.


  2. #2
    Apprentice itsjustme143 is offline
    MemberRank
    Nov 2007 Join Date
    5Posts

    Re: [ADDON] Displaying/Adding Item (no need to open ShopItemMAP) Less time

    it is really a big help especially for newbies like me..can you please share it to us..

  3. #3
    Account Upgraded | Title Enabled! larrelle is offline
    MemberRank
    Dec 2006 Join Date
    270Posts

    Re: [ADDON] Displaying/Adding Item (no need to open ShopItemMAP) Less time

    count me in ^_^V

    tnx!

  4. #4
    Account Upgraded | Title Enabled! heavenzel is offline
    MemberRank
    Jul 2007 Join Date
    Sa Bahay poLocation
    351Posts

    Re: [ADDON] Displaying/Adding Item (no need to open ShopItemMAP) Less time

    Quote Originally Posted by lucian0127 View Post
    im just afraid of someone laugh at my works i know this for begginer..
    afraid? this is s*ck. ur a monster to me tsong lucian.. dont mind them, ^^ this script make itemMap simple and clear..

  5. #5
    Account Upgraded | Title Enabled! programmer27 is offline
    MemberRank
    Sep 2006 Join Date
    429Posts

    Re: [ADDON] Displaying/Adding Item (no need to open ShopItemMAP) Less time

    :D just share it's ok.
    i've done the displaying items when i shared the addon sending gift to all

    adding items is a big help for my addon sending gift to all. esp to those lack of ShopItemMap items in it.

    simple but it helps

  6. #6
    Account Upgraded | Title Enabled! eliteskill is offline
    MemberRank
    Aug 2006 Join Date
    registryLocation
    404Posts

    Re: [ADDON] Displaying/Adding Item (no need to open ShopItemMAP) Less time

    whoah i cant wait.... share it dude ^_^

  7. #7
    Member kelvin_112 is offline
    MemberRank
    Oct 2006 Join Date
    PhilippinesLocation
    75Posts

    Re: [ADDON] Displaying/Adding Item (no need to open ShopItemMAP) Less time

    ^^ This Is Nice...
    Less Time...
    ^^ ComE on Share It...
    Cant W8 Anymore...^^
    More Power Man

  8. #8
    Enthusiast keldai is offline
    MemberRank
    Apr 2006 Join Date
    31Posts

    Re: [ADDON] Displaying/Adding Item (no need to open ShopItemMAP) Less time

    release the script plz :p

  9. #9
    uNiCeRAN [GAME DEV.] lucian0127 is offline
    MemberRank
    Apr 2006 Join Date
    philippinesLocation
    281Posts

    Re: [ADDON] Displaying/Adding Item (no need to open ShopItemMAP) Less time

    @ALL
    Im hoping that this GUIDE will help guyz ^_^

  10. #10
    Enthusiast keldai is offline
    MemberRank
    Apr 2006 Join Date
    31Posts

    Re: [ADDON RELEASE] Displaying/Adding Item (no need to open ShopItemMAP) Less time

    Warning: mssql_query(): message: Invalid column name 'WebLoginState'. (severity 16) in C:\Program Files\Abyss Web Server\htdocs\ran\function.php on line 6

    Warning: mssql_query(): Query failed in C:\Program Files\Abyss Web Server\htdocs\ran\function.php on line 6

    Warning: mssql_num_rows(): supplied argument is not a valid MS SQL-result resource in C:\Program Files\Abyss Web Server\htdocs\ran\function.php on line 7

    Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\ran\function.php:6) in C:\Program Files\Abyss Web Server\htdocs\ran\function.php on line 173

    Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Abyss Web Server\htdocs\ran\function.php:6) in C:\Program Files\Abyss Web Server\htdocs\ran\function.php on line 174

    :eek6:

    query script error

  11. #11
    Account Upgraded | Title Enabled! programmer27 is offline
    MemberRank
    Sep 2006 Join Date
    429Posts

    Re: [ADDON RELEASE] Displaying/Adding Item (no need to open ShopItemMAP) Less time

    @keldai
    try to pass the port in of ur mssql and ur done.
    edit the settings of ur ip.

    i met that error so many times hekhekhek.
    just pass the port.

    edit:
    Warning: mssql_query(): message: Invalid column name 'WebLoginState'. (severity 16) in C:\Program Files\Abyss Web Server\htdocs\ran\function.php on line 6

    u need to put webloginstate in ur database. ask lucian where.

  12. #12
    Member kelvin_112 is offline
    MemberRank
    Oct 2006 Join Date
    PhilippinesLocation
    75Posts

    Re: [ADDON RELEASE] Displaying/Adding Item (no need to open ShopItemMAP) Less time

    I test it...!
    and theres a little problem here...

    Fatal error: Call to undefined function: securitycheck() in C:\Program Files\Abyss Web Server\htdocs\ran\page\newitem.php on line 3

    what shall i do..?

  13. #13
    uNiCeRAN [GAME DEV.] lucian0127 is offline
    MemberRank
    Apr 2006 Join Date
    philippinesLocation
    281Posts

    Re: [ADDON RELEASE] Displaying/Adding Item (no need to open ShopItemMAP) Less time

    Add WebLoginState to your UserInfo in RanUser DB. When you are currently in game, you can login to ranCP without logging out your account in the game.

    Column Name: WebLoginState
    Type: smallint
    Default Value: 1
    Last edited by lucian0127; 09-11-07 at 07:28 AM.

  14. #14
    Member kelvin_112 is offline
    MemberRank
    Oct 2006 Join Date
    PhilippinesLocation
    75Posts

    Re: [ADDON RELEASE] Displaying/Adding Item (no need to open ShopItemMAP) Less time

    ok...
    but what could be the data type for that one...and the value

  15. #15
    Proficient Member neosharky is offline
    MemberRank
    Dec 2006 Join Date
    157Posts

    Re: [ADDON RELEASE] Displaying/Adding Item (no need to open ShopItemMAP) Less time

    ei idol thats realy a big help but in addition can u add up another form which can edit existing item on item shop...

    example: we can search for a item name or item number and edit or delete the item chosen!!

    and if this program add up to shop (and item map ) then can this allso create the icon for the item to be sold (can add something like that to it)



Page 1 of 7 1234567 LastLast

Advertisement