GUNZ 1.5 item not buyable

Results 1 to 20 of 20
  1. #1
    Immortal GunZ :D maxy2010 is offline
    MemberRank
    Sep 2009 Join Date
    357Posts

    GUNZ 1.5 item not buyable

    hello!!....guys does any one has a tut for fixing this problem....ty


  2. #2
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: GUNZ 1.5 item not buyable


  3. #3
    Account Upgraded | Title Enabled! CobraBite is offline
    MemberRank
    Jan 2011 Join Date
    Where?Location
    281Posts

    Re: GUNZ 1.5 item not buyable

    Quote Originally Posted by Joe9099 View Post
    That's not the fix for item buyable -.-....

    Zitem.xml >> iscashitem="true" change every item to "false" if you included premium items to the shop.

  4. #4
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: GUNZ 1.5 item not buyable

    Quote Originally Posted by CobraBite View Post
    That's not the fix for item buyable -.-....

    Zitem.xml >> iscashitem="true" change every item to "false" if you included premium items to the shop.
    Don't tell me what's right and wrong please because i know for a fact im right.
    All items that were in the client over a certain number were NOT buy-able.
    But with this fix it allows those items to be bought...

    What ur doing is just setting it so, If its "iscashitem="True"" then it would NOT be shown in shop and would be a VIP item, if false, it WILL show in shop.


  5. #5
    The Sky's the Limit ^_^ GzFKoron is offline
    MemberRank
    Jul 2010 Join Date
    1,118Posts

    Re: GUNZ 1.5 item not buyable

    Quote Originally Posted by Joe9099 View Post
    Don't tell me what's right and wrong please because i know for a fact im right.
    All items that were in the client over a certain number were NOT buy-able.
    But with this fix it allows those items to be bought...

    What ur doing is just setting it so, If its "iscashitem="True"" then it would NOT be shown in shop and would be a VIP item, if false, it WILL show in shop.

    Listen to joe, he IS running a very successful 1.5 server.

  6. #6
    Fuck Army. sahar042 is offline
    MemberRank
    Jul 2009 Join Date
    833Posts

    Re: GUNZ 1.5 item not buyable


  7. #7
    Account Upgraded | Title Enabled! CobraBite is offline
    MemberRank
    Jan 2011 Join Date
    Where?Location
    281Posts

    Re: GUNZ 1.5 item not buyable

    Quote Originally Posted by Joe9099 View Post
    Don't tell me what's right and wrong please because i know for a fact im right.
    All items that were in the client over a certain number were NOT buy-able.
    But with this fix it allows those items to be bought...

    What ur doing is just setting it so, If its "iscashitem="True"" then it would NOT be shown in shop and would be a VIP item, if false, it WILL show in shop.

    Then how did i fix it :)?




    Didn't even use that tutorial that joe provided.

    @SheenUK
    Not the only one who can make a successful 1.5 Client / Server even a dumbass kid can set up this.

    PS: I know the messagebox of the announce is easy.. Don't bother saying it i made a stable client with all the fixes and database in 1 week ;)

    Edit:
    Iv just tried turning back on iscashitem="true" and the buy button doesn't work.
    Last edited by CobraBite; 19-02-12 at 06:45 PM.

  8. #8
    The Sky's the Limit ^_^ GzFKoron is offline
    MemberRank
    Jul 2010 Join Date
    1,118Posts

    Re: GUNZ 1.5 item not buyable

    I didn't say he was the only one, I simply said to listen to him as hes encountered the problem before and knows how to fix it.

  9. #9
    Account Upgraded | Title Enabled! CobraBite is offline
    MemberRank
    Jan 2011 Join Date
    Where?Location
    281Posts

    Re: GUNZ 1.5 item not buyable

    Quote Originally Posted by SheenUK View Post
    I didn't say he was the only one, I simply said to listen to him as hes encountered the problem before and knows how iv fixed it.
    Whoever is using the GunZ source released by dawson everyone has encountered the problem. And dude, iv fixed it also and i know how did i fix this :F...

    However, Joe posted the tutorial how to fix GunZ 1.5 item LIMIT. Means, If you do an item with the id "999999999999999999999999" and the limit is 500000 the item with that long id number wouldn't even show or maybe crash indeed. I might be wrong also about the limit id.. I should check what it does.

  10. #10
    Gunz General Develop Gun[Lengend] is offline
    MemberRank
    Jan 2010 Join Date
    Gunz Viet NamLocation
    312Posts

    Re: GUNZ 1.5 item not buyable

    Whoever is using the GunZ source released
    I'm using emisand database.
    And i get this error.
    I was fixing like you but still not work ?
    What happen ?

  11. #11
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: GUNZ 1.5 item not buyable

    Fix.

    1) Remove the Foreign Keys on dbo.item to avoid errors such as "Item is not purchasable." or "Cannot withdraw the item.".

    2) Execute this to your GunzDB.
    Code:
    UPDATE Item SET IsCashItem = 0
    3) Remove the 500000 Item ID limit.
    http://forum.ragezone.com/f245/gunz-...-limit-812529/

    4) Change IsCashItem="true" to IsCashItem="false" in your zitem.xml (client/server sided.)

    5) Now after all that, do put in mind that the server sided nodes aren't Phoenix's.

    Now, could you please stop whining about it?

    Quote Originally Posted by CobraBite View Post
    PS: I know the messagebox of the announce is easy.. Don't bother saying it i made a stable client with all the fixes and database in 1 week ;)
    Code:
    if(state==GUNZ_LOBBY)
    			{
    				ZApplication::GetGameInterface()->ShowMessage(szText);
    			}
    			else
    			{		
    				ZChatOutput(szText, ZChat::CMT_SYSTEM);
    			}
    oops.
    Last edited by Vusion; 20-02-12 at 04:18 PM.

  12. #12
    Gunz General Develop Gun[Lengend] is offline
    MemberRank
    Jan 2010 Join Date
    Gunz Viet NamLocation
    312Posts

    Re: GUNZ 1.5 item not buyable

    Not working !
    Sorry i follow you said but in thunderz tutorial to make unlimited item.
    I found MMatchItem in Include Foler, not in Source Folder ?

    Checking for me, first in Stable\CSCommon\Inclue i edit MMatchItem ( I not find it in Source Folder, it's not located in it ):


    I Remove all Foreign key in Item.dbo :



    And Item.dbo are iscashitem with 0 value :



    zitem.xml in system and matchserver are iscashitem="false"



    And it a result :



    This is not a way i try to fix it, i don't know why i can't do it but i follow ur tutorial. It make me sad n sorrow, why i can't success with it ?

  13. #13
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: GUNZ 1.5 item not buyable

    Then it's your shop files.

  14. #14
    Gunz General Develop Gun[Lengend] is offline
    MemberRank
    Jan 2010 Join Date
    Gunz Viet NamLocation
    312Posts

    Re: GUNZ 1.5 item not buyable

    Then it's your shop files.
    What about it ?

  15. #15
    Fuck Army. sahar042 is offline
    MemberRank
    Jul 2009 Join Date
    833Posts

    Re: GUNZ 1.5 item not buyable

    Quote Originally Posted by Gun[Lengend] View Post
    Not working !
    Sorry i follow you said but in thunderz tutorial to make unlimited item.
    I found MMatchItem in Include Foler, not in Source Folder ?

    Checking for me, first in Stable\CSCommon\Inclue i edit MMatchItem ( I not find it in Source Folder, it's not located in it ):


    I Remove all Foreign key in Item.dbo :



    And Item.dbo are iscashitem with 0 value :



    zitem.xml in system and matchserver are iscashitem="false"



    And it a result :



    This is not a way i try to fix it, i don't know why i can't do it but i follow ur tutorial. It make me sad n sorrow, why i can't success with it ?

    rebuild CSCommon after you edit http://forum.ragezone.com/f245/gunz-...-limit-812529/ .

  16. #16
    Gunz General Develop Gun[Lengend] is offline
    MemberRank
    Jan 2010 Join Date
    Gunz Viet NamLocation
    312Posts

    Re: GUNZ 1.5 item not buyable

    CSCommon
    Rebuild to get CSCommon.lib ?
    I'm noob in C++, i'm beginer, and i'm studying in school about 2 day :D.
    So maybe i don't know how to do with u comment

  17. #17
    Fuck Army. sahar042 is offline
    MemberRank
    Jul 2009 Join Date
    833Posts

    Re: GUNZ 1.5 item not buyable

    lol .... open gunz project (Gunz.sln) and Right on cscommon > Project only > Rebuild Only CScommon but before you doing this you need to edit this :


    /Stable/CSCommon/Include/MMatchItem.h

    search for :

    bool IsCashItem() { if ((m_nID>=500000) || (m_bIsCashItem)) return true; return false; }
    replace to :

    bool IsCashItem() { if ((m_bIsCashItem)) return true; return false; }
    after rebuild cscommon rebuild Gunz.

  18. #18
    Gunz General Develop Gun[Lengend] is offline
    MemberRank
    Jan 2010 Join Date
    Gunz Viet NamLocation
    312Posts

    Re: GUNZ 1.5 item not buyable

    thank, but is rebuild MatchServer right?
    My Gunz.exe build cannot respawn when i died and i don't know how to fix. I can build and use but no respawn, error linking with error. So sad

    open gunz project (Gunz.sln)
    rebuild Gunz.
    I has edit MatchServer by myself and it working normally, i was hope that error can fix by rebuild match server, now i'm get new error, i was thinking when i give up. Hope that everybody help me, for study and dev gunz :|

    Thank i was fixing Item buyable.
    Now can i fix Not Respawn when i die ?

  19. #19
    Account Upgraded | Title Enabled! CobraBite is offline
    MemberRank
    Jan 2011 Join Date
    Where?Location
    281Posts

    Re: GUNZ 1.5 item not buyable

    Quote Originally Posted by Vusion View Post
    if(state==GUNZ_LOBBY)
    {
    ZApplication::GetGameInterface()->ShowMessage(szText);
    }
    else
    {
    ZChatOutput(szText, ZChat::CMT_SYSTEM);
    }
    [/code]

    oops.
    You didn't read what i said right? Please stop being immature already, Make me think you're a retard indeed.
    And vusion, The command i did is not just a normal ugrade that show's "MessageBox", I did 2 ways for /admin_wall, message or chat.

    Oops.

  20. #20
    Gunz General Develop Gun[Lengend] is offline
    MemberRank
    Jan 2010 Join Date
    Gunz Viet NamLocation
    312Posts

    Re: GUNZ 1.5 item not buyable

    How to fix respawn when i die ?



Advertisement