Jump to content

RusKo69

Membru
  • Posts

    31
  • Joined

  • Last visited

  • Days Won

    1

RusKo69 last won the day on June 13 2018

RusKo69 had the most liked content!

Profile Information

  • Sex
    Masculin
  • In-game Name
    RusKo.
  • Level of knowledge
    Mediu

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

RusKo69's Achievements

Contributor

Contributor (5/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • One Month Later
  • One Year In

Recent Badges

2

Reputation

  1. Vand cont RPG2 - https://www.rpg2.b-zone.ro/players/general/RusKo.ADMINPERPG4 Vand cont Ruby - https://rubypanel.nephrite.ro/profile/RusKoCITSV4.2 Vand cont White banat (expira in 4 zile banu') - http://whitepanel.bugged.ro/profile/SkyPro Vand cont Black banat (tot in 4 zile) - http://blackpanel.bugged.ro/profile/RUSKOLINO
  2. M am gandit si eu la asta cu panelul, i am inchis conexiunea cu baza de date si tot asa face..
  3. Deci, de la o vreme cand incerc sa intru pe SERVER imi apare casuta de dialog, pun parola CORECTA se inchide dialogul si asa ramane iar cand ma vreau sa intru in baza de date primesc asta: User 'zp_hid16250' has exceeded the 'max_user_connections' resource (current value: 10)
  4. return 1; nu e in acelasi drept cu restul comenzii la prima eroare si la a 2 a inifly nu e folosit nicaieri
  5. Cont Link: Click Pe cont sunt un jur de 8kk, 52 rubine, 28 ore si 184 respect points mai multe detalii le vedeti pe panel sa imi puteti lasa un PM Ca sanctiuni are un jail pentru dm de acum 5 luni si un ban pentru auto clicker de 3 luni si ceva
  6. salut, am incercat sa fac ceva gen sa poti da /check cand un jucator este offline si sa se ia din baza de date dar cand compilez imi da crash, sunt sigur ca e din cauza ca sunt prea multe, cum as putea sa rezolv? cod dialog case DIALOG_CHECK: { if(!response) return 1; new name[180], szQuery[256], szResult[180], check[180]; GetPVarString(playerid, "CheckName", name, 256); format(szQuery, sizeof(szQuery), "SELECT * FROM `users` WHERE `name`='%s'", name); new Cache: result = mysql_query(SQL, szQuery); switch(listitem) { case 0: cache_get_field_content(0, "name", szResult), format(check, 256, szResult); case 1: cache_get_field_content(0, "ConnectedTime", szResult), format(check, 256, szResult); case 2: cache_get_field_content(0, "PhoneNr", szResult), format(check, 256, szResult); case 3: cache_get_field_content(0, "Job", szResult), format(check, 256, szResult); case 4: cache_get_field_content(0, "Warnings", szResult), format(check, 256, szResult); case 5: cache_get_field_content(0, "Level", szResult), format(check, 256, szResult); case 6: cache_get_field_content(0, "Respect", szResult), format(check, 256, szResult); case 7: cache_get_field_content(0, "Money", szResult), format(check, 256, szResult); case 8: cache_get_field_content(0, "Bank", szResult), format(check, 256, szResult); case 9: cache_get_field_content(0, "House", szResult), format(check 256, szResult); case 10: cache_get_field_content(0, "Bizz", szResult), format(check, 256, szResult); case 11: cache_get_field_content(0, "Drugs", szResult), format(check, 256, szResult); case 12: cache_get_field_content(0, "Materials", szResult), format(check, 256, szResult); case 13: cache_get_field_content(0, "Premium", szResult), format(check, 256, szResult); case 14: cache_get_field_content(0, "Vip", szResult), format(check, 256, szResult); case 15: cache_get_field_content(0, "Member", szResult), format(check, 256, szResult); case 16: cache_get_field_content(0, "Rank", szResult), format(check, 256, szResult); case 17: cache_get_field_content(0, "FWarn", szResult), format(check, 256, szResult); case 18: cache_get_field_content(0, "FPunish", szResult), format(check, 256, szResult); case 19: cache_get_field_content(0, "Days", szResult), format(check, 256, szResult); case 20: cache_get_field_content(0, "Rob", szResult), format(check, 256, szResult); case 21: cache_get_field_content(0, "EscapePoints", szResult), format(check, 256, szResult); case 22: cache_get_field_content(0, "RollPoints", szResult), format(check, 256, szResult); case 23: cache_get_field_content(0, "Tokens", szResult), format(check, 256, szResult); case 24: cache_get_field_content(0, "PremiumPoints", szResult), format(check, 256, szResult); case 25: cache_get_field_content(0, "Admin", szResult), format(check, 256, szResult); case 26: cache_get_field_content(0, "Helper", szResult), format(check, 256, szResult); case 27: cache_get_field_content(0, "Leader", szResult), format(check, 256, szResult); case 28: cache_get_field_content(0, "id", szResult), format(check, 256, szResult); case 29: cache_get_field_content(0, "lastOn", szResult), format(check, 256, szResult); case 30: cache_get_field_content(0, "RegisterDate", szResult), format(check, 256, szResult); case 31: cache_get_field_content(0, "Email", szResult), format(check, 256, szResult); case 32: cache_get_field_content(0, "GiftPoints", szResult), format(check, 256, szResult); } format(string, sizeof(string), "Database result: %s", check); SCM(playerid, COLOR_LIGHTRED, string); cache_delete(result); }
  7. for(new i = 1; i < sizeof(BizzInfo); i++) { if (IsPlayerInRangeOfPoint(playerid,2,BizzInfo[bEntranceX], BizzInfo[bEntranceY], BizzInfo[bEntranceZ]) && BizzInfo[bStatic] == 0) { if(GetPlayerVirtualWorld(playerid) != 0) return SCM(playerid, COLOR_LGREEN, "Eroare: Trebuie sa fi in Virtual World 0 pentru a putea intra intr-un biz."); if(GetPlayerCash(playerid) >= BizzInfo[bFee]) { if(BizzInfo[bLocked] == 1) { GameTextForPlayer(playerid, "~r~~h~Inchis", 5000, 1); return 1; } GivePlayerCash(playerid,-BizzInfo[bFee]); BizzInfo[bBalance] += BizzInfo[bFee]; if(i == 1 || i == 39) SCM(playerid,COLOR_LIGHTBLUE,"Comenzi disponibile: /withdraw, /deposit, /transfer."); if(i == 25 || i == 37) SCM(playerid,COLOR_LIGHTBLUE,"Comenzi disponibile: /clothes, /buyhat, /glasses."); if(i == 35 || i == 28) SCM(playerid,COLOR_LIGHTBLUE,"Comenzi disponibile: /playdice."); if(i == 2 || i == 36) { SCM(playerid,COLOR_GREEN,"DM-ul pe server este interzis. Este permis doar pe politisti dar se sanctioneaza cu wanted."); SCM(playerid, COLOR_GREEN, "Daca faci DM pe alti jucatori risti sa primesti jail."); SCM(playerid, COLOR_WHITE, "Poti cumpara arme apasand tasta Y in zona indicata."); } if(i == 26 || i == 27 || i == 38 || i == 31) SCM(playerid,COLOR_LIGHTBLUE,"Comenzi disponibile: /eat."); if(i == 3 || i == 4 || i == 5) { PlayAudioStreamForPlayer(playerid,alhamusic); SCM(playerid,COLOR_LIGHTBLUE,"Comenzi disponibile: /drink."); } if(i == 20 || i == 21 || i == 22 || i == 23 || i == 24 || i == 40 || i == 41 || i == 42) { SCM(playerid,COLOR_LIGHTBLUE,"Comenzi disponibile: /buy."); if(HaveFish[playerid] != 0) { ShowPlayerDialog(playerid, DIALOG_FISH, DIALOG_STYLE_MSGBOX, "Vinde pestele", "Vrei sa vinzi pestele in acest magazin?", "Da", "Nu"); } } if(i == 6) SCM(playerid,COLOR_LIGHTBLUE,"Comenzi disponibile: /buydildo."); SetPlayerInterior(playerid,BizzInfo[bInterior]); SetPlayerPosEx(playerid,BizzInfo[bExitX],BizzInfo[bExitY],BizzInfo[bExitZ]); PlayerInfo[playerid][pInt] = BizzInfo[bInterior]; PlayerInfo[playerid][pLocal] = i+99; SetPlayerVirtualWorld(playerid,BizzInfo[bVirtual]); InBussines[playerid] = i; Update(playerid, pCashx); new str1[184]; format(str1,sizeof(str1),"UPDATE `bizz` SET `Till`='%d' WHERE `ID`='%d'",BizzInfo[bBalance],i); mysql_query(SQL,str1); format(str1, sizeof(str1), "~r~-$%d", BizzInfo[bFee]); GameTextForPlayer(playerid, str1, 1000, 1); } else { GameTextForPlayer(playerid, "~r~~h~Nu ai suma necesara de bani", 5000, 1); } } } for(new i = 1; i < sizeof(BizzInfo); i++) { InBussines[playerid] = i; if (PlayerToPoint(2, playerid,BizzInfo[bExitX], BizzInfo[bExitY], BizzInfo[bExitZ]) && BizzInfo[bVirtual] == GetPlayerVirtualWorld(playerid)) { SetPlayerPosEx(playerid,BizzInfo[bEntranceX],BizzInfo[bEntranceY],BizzInfo[bEntranceZ]); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; SetPlayerVirtualWorld(playerid,0); InBussines[playerid] = -1; } }
  8. Daca intru intr-un biz si nu ma misc ma da la intrarea lui, daca intru in el si ma misc ma da la intrarea altui biz.. Video: https://youtu.be/IBUgOtu9ZUs
  9. RusKo69

    Bug Zile

    public SyncUp() { foreach(Player, i) { if(IsPlayerConnected(i)) { if(PlayerTime != 0) PlayerTime --; if(PlayerTime2 != 0) PlayerTime2 --; if(PlayerTime3 != 0) PlayerTime3 --; if(PlayerTime4 != 0) PlayerTime4 --; if(PlayerTime5 != 0) PlayerTime5 --; if(PlayerTime6 != 0) PlayerTime6 --; if(PlayerTime7 != 0) PlayerTime7 --; if(PlayerTime8 != 0) PlayerTime8 --; if(PlayerTime10 != 0) PlayerTime10 --; if(PlayerInfo[pMember] != 0) PlayerInfo[pDays] ++; } } new tmphour; new tmpminute; new tmpsecond; new hour,minn,sec; gettime(hour,minn,sec); gettime(tmphour, tmpminute, tmpsecond); FixHour(tmphour); tmphour = shifthour; if ((tmphour > ghour) || (tmphour == 0 && ghour == 23)) { ghour = tmphour; PayDay(); if(hour == 0) { new query[256]; format(query, sizeof(query), "UPDATE `users` SET `DayLogin`='0'"); mysql_query(SQL, query); format(query, sizeof(query), "UPDATE `users` SET `Days`=`Days`+1 WHERE `Member`>'0'"); mysql_query(SQL, query); format(query, sizeof(query), "UPDATE `users` SET `ClanDays`=`ClanDays`+1 WHERE `Clan`>'0'"); mysql_query(SQL, query); } if(hour == 23) { new str[256]; for(new turf = 1; turf < sizeof(TurfInfo); turf++) { TurfInfo[turf][zTime] = 0; format(str,sizeof(str),"UPDATE `turfs` SET `Time`='0' WHERE `ID`='%d'",turf); mysql_query(SQL,str); } } if (realtime) { SetWorldTime(hour); } } return 1; }
  10. RusKo69

    Bug Zile

    Bag oriunde e folosit pDays?
  11. RusKo69

    Bug Zile

    Am adaugat intr-un Gamemode zilele in factiune dar uneori cand imi dau /auninvite apar niste zile total random, gen eu stau in acea factiune 1 zi si cand imi dau /auninvite imi apare ca am stat 15 zile
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.