Raised This Month: $32 Target: $400
 8% 

Global Offensive Mod 2.15 Beta [LAST UPDATE: 08. 13] *BUG FIXED


Post New Thread Reply   
 
Thread Tools Display Modes
frienzko
New Member
Join Date: Sep 2017
Old 09-06-2017 , 16:03   Re: Global Offensive Mod 2.15 Beta [LAST UPDATE: 08. 13] *BUG FIXED
Reply With Quote #221

give item code ? or give case and key code ?
frienzko is offline
popilas
Senior Member
Join Date: Apr 2017
Location: lituanica
Old 10-30-2017 , 06:51   Re: Global Offensive Mod 2.15 Beta [LAST UPDATE: 08. 13] *BUG FIXED
Reply With Quote #222

when wirte name and password dont show register.. host name pw writeted good..and imported

] Lost connection to MySQL server at 'reading initial communication packet', system error: 111

Last edited by popilas; 10-30-2017 at 07:30.
popilas is offline
TheWhitesmith
Senior Member
Join Date: Oct 2017
Location: Morocco :c
Old 10-30-2017 , 14:14   Re: Global Offensive Mod 2.15 Beta [LAST UPDATE: 08. 13] *BUG FIXED
Reply With Quote #223

As a fix that I made for duplicated skins (using Market then Trading) I tried to remove the user's item as soon as he puts it in Market. So if he cancells his Item sell the item goes back to his Inventory.

PHP Code:
public MarketMenuh(idMenuItem)
{
    if(
Item == MENU_EXIT)
    {
        
menu_destroy(Menu);
        return;
    }
    
    new 
Data[14], Line[32];
    new 
AccessCallback;
    
menu_item_getinfo(MenuItemAccessDatacharsmax(Data), Linecharsmax(Line), Callback);
    
    new 
str_to_num(Data);
    
    switch(
x)
    {
        case 
0:
        {
            if(
InMarket[id]) {
                if(
MarketItem[id] > && MarketItem[id] <= 90+MAXKNIFESKINS)
                {
                    
Weapons[id][MarketItem[id]]++;
                }
                else if(
MarketItem[id] > 90+MAXKNIFESKINS && MarketItem[id] <= 90+MAXKNIFESKINS+MAXCASES)
                {
                    
Cases[id][MarketItem[id]-(90+MAXKNIFESKINS)]++;
                }
                else if(
MarketItem[id] > 0)
                {
                    
Keys[id]++;
                }
            }
            
InMarket[id] = 0;
            
MarketItem[id] = 0;
            
MarketDollar[id] = 0;
            
MChooseItem(id);
        }
        
        case 
1:
        {
            
MChooseItem(id);
        }
        
        case 
2:
        {
            
client_cmd(id"messagemode MARKETDOLLAR");
            
MarketMenu(id);
        }
        
        case 
3:
        {
            if(
MarketItem[id] > 0)
            {
                new 
ItemName[32];
    
                if(
MarketItem[id] > && MarketItem[id] <= 90+MAXKNIFESKINS)
                {
                    
formatex(ItemNamecharsmax(ItemName), "%s"SkinData[MarketItem[id]][0]);
                    
Weapons[id][MarketItem[id]]--;
                }
                else if(
MarketItem[id] > 90+MAXKNIFESKINS && MarketItem[id] <= 90+MAXKNIFESKINS+MAXCASES)
                {
                    
formatex(ItemNamecharsmax(ItemName), "%s"Case_Data[MarketItem[id]-(90+MAXKNIFESKINS)][0]);
                    
Cases[id][MarketItem[id]-(90+MAXKNIFESKINS)]--;
                }
                else if(
MarketItem[id] > 0)
                {
                    
formatex(ItemNamecharsmax(ItemName), "%s"KeyName);
                    
Keys[id]--;
                }
                
                for(new 
iMAXPi++)
                    if(
is_user_connected(i))
                        
print_color(i"!g%s!y %L"Prefixi"SOLVEDTOMARKET"Name[id], ItemNameMarketDollar[id]);
                        
                
InMarket[id] = 1;
                
MarketMenu(id);
            }
            else
            {
                
MarketMenu(id);
            }
        }
    }
}

public 
BuyMenu(id)
{        
 
//Original Code
}

public 
BuyMenuh(idMenuItem)
{
    if(
Item == MENU_EXIT)
    {
        
menu_destroy(Menu);
        return;
    }
    
    new 
Data[14], Line[32];
    new 
AccessCallback;
    
menu_item_getinfo(MenuItemAccessDatacharsmax(Data), Linecharsmax(Line), Callback);
    
    new 
str_to_num(Data);
    
    if(
InMarket[x] > && MarketItem[x] > && MarketDollar[x] > 0)
    {
        if(
Dollars[id] < MarketDollar[x])
        {
            
print_color(id"!g%s!y %L"Prefixid"NOTENOUGHDOLLAR");
            return;
        }
        
        if(
MarketItem[x] > && MarketItem[x] <= 90+MAXKNIFESKINS)
        {
            
Weapons[id][MarketItem[x]]++;
        }
        else if(
MarketItem[x] > 90+MAXKNIFESKINS && MarketItem[x] <= 90+MAXKNIFESKINS+MAXCASES)
        {
            
Cases[id][MarketItem[x]-(90+MAXKNIFESKINS)]++;
        }
        else if(
MarketItem[x] > 0)
        {
            
Keys[id]++;
        }
        
        
Dollars[id] -= MarketDollar[x];
        
Dollars[x] += MarketDollar[x];
        
InMarket[x] = 0;
        
        new 
ItemName[32];
    
        if(
MarketItem[id] > && MarketItem[id] <= 90+MAXKNIFESKINS)
        {
            
formatex(ItemNamecharsmax(ItemName), "%s"SkinData[MarketItem[id]][0]);
        }
        else if(
MarketItem[id] > 90+MAXKNIFESKINS && MarketItem[id] <= 90+MAXKNIFESKINS+MAXCASES)
        {
            
formatex(ItemNamecharsmax(ItemName), "%s"Case_Data[MarketItem[id]-(90+MAXKNIFESKINS)][0]);
        }
        else if(
MarketItem[id] > 0)
        {
            
formatex(ItemNamecharsmax(ItemName), "%s"KeyName);
        }
        
        
        for(new 
iMAXPi++)
            if(
is_user_connected(i))
                
print_color(i"!g%s!y %L"Prefixi"BUYINGITEM"Name[id], ItemNameMarketDollar[x], Name[x]);
                
        
MarketDollar[x] = 0;
        
MarketItem[x] = 0;
        
SQL_UpdateUser(id);
        
SQL_UpdateUser(x);
    }


Last edited by TheWhitesmith; 10-30-2017 at 14:15.
TheWhitesmith is offline
TheWhitesmith
Senior Member
Join Date: Oct 2017
Location: Morocco :c
Old 10-30-2017 , 17:44   Re: Global Offensive Mod 2.15 Beta [LAST UPDATE: 08. 13] *BUG FIXED
Reply With Quote #224

For the Trades fix, I tried hard but couldn't find what makes the server crash. Any help would be appreciated!
TheWhitesmith is offline
Residays
Junior Member
Join Date: Oct 2017
Location: Venezuela
Old 11-03-2017 , 06:43   Re: Global Offensive Mod 2.15 Beta [LAST UPDATE: 08. 13] *BUG FIXED
Reply With Quote #225

When I try to register I only have fields for exiting, username and password. Isn't there a button to confirm my registration?
Residays is offline
Ayman Khaled
Senior Member
Join Date: Mar 2017
Location: Palestine
Old 11-03-2017 , 06:58   Re: Global Offensive Mod 2.15 Beta [LAST UPDATE: 08. 13] *BUG FIXED
Reply With Quote #226

Quote:
Originally Posted by Residays View Post
When I try to register I only have fields for exiting, username and password. Isn't there a button to confirm my registration?
do you have a sql db?
if so, did you write your db info in .sma file?
__________________
Ayman Khaled is offline
Residays
Junior Member
Join Date: Oct 2017
Location: Venezuela
Old 11-03-2017 , 08:00   Re: Global Offensive Mod 2.15 Beta [LAST UPDATE: 08. 13] *BUG FIXED
Reply With Quote #227

Quote:
Originally Posted by Ayman Khaled View Post
do you have a sql db?
if so, did you write your db info in .sma file?
Did the first, but not the latter. Thank you.

I'll try it out when I see what to do regarding the prechache 512 limit.
Residays is offline
popilas
Senior Member
Join Date: Apr 2017
Location: lituanica
Old 11-06-2017 , 08:00   Re: Global Offensive Mod 2.15 Beta [LAST UPDATE: 08. 13] *BUG FIXED
Reply With Quote #228

maybe who have vip menu for this mod ? or buy xp system?
popilas is offline
Old 11-06-2017, 11:56
DeRoiD
This message has been deleted by HamletEagle. Reason: advertising premade plugins is not allowed
popilas
Senior Member
Join Date: Apr 2017
Location: lituanica
Old 11-06-2017 , 12:14   Re: Global Offensive Mod 2.15 Beta [LAST UPDATE: 08. 13] *BUG FIXED
Reply With Quote #229

Will i can do simple guns? ak47 or awp not csgo
popilas is offline
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 11-06-2017 , 14:37   Re: Global Offensive Mod 2.15 Beta [LAST UPDATE: 08. 13] *BUG FIXED
Reply With Quote #230

Quote:
Originally Posted by DeRoiD View Post
Hi everybody i will update the plugin soon. (i hope in this year)

I have PRIVATE csgo mod for sale. (20€) [paypal or csgo skin]
Mod have:
- Operation (Hydra)
- StatTrak System
- Nametag System
- Store
- New case openning style

If somebody want it contact me on steam!
steamcommunity.com/id/deroid
Good day!
by looking at this ones code, i would not buy from you, because you made this plugin poorly. Unless you can somehow prove that the one for sale is perfectly scripted
__________________
retired chump
DjSoftero 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 01:35.


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