Bgurf
Uživatel-
Příspěvků
59 -
Registrován
-
Aktivní
-
Vítězných dnů
1
Content Type
Profiles
Forums
Calendar
Gallery
SA-MP
Everything posted by Bgurf
-
To je jen Warning
-
To je jen testovací server instaloval jsem ho když v instalátoru byla rze
-
[quote name=ßlyster ' timestamp='1374820695' post='272027] To by ma zaujimalo aky VPS plati SMSku Žádný Fakt vám tak vadí že je free? fakt chcete abych to předělal na placený?
-
Dnes jsem s kámošem vytvořil samp hosting zdarma Je tu 20 volných serverů Free 20 slotů 10% CPU 5 NPC V instalátoru není RZE VPS jede na 1GB RAM jakmile si dobiju kredit na mobil tak zvýším na 2GB Odkaz na hosting : http://89.185.248.164/apanel/
-
No jesli máš craftbukkit tak si stačí stáhnout plugin AutoSaveWorld každých 5min to ukládá mapu teda aspoň myslím že 5min nebo do console "save-all"
-
Toto je jediný FS který tam mám zkouším to na hamachi serveru kde mám poloprázdný GM a jedno FS
-
Pořád to padá
-
díky moc za rady Hele lidi už jsem udělal ten script ale když ho dám na server tak ten server spadne tu mám code #include <a_samp> #if defined FILTERSCRIPT #define BARVA_SEDA 0xAFAFAFAA #define SCM SendClientMessage #define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1 public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Fake Quit v1.0 By Sempoinus1"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else #endif public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext, "/fq", true) == 0) { // Send a message to everyone. SendClientMessageToAll(0xAFAFAFAA, "Hráč %s opustil server.(Pád hry)"); SetPlayerColor(playerid, 0x000000); return 1; } return 0; }
-
Zdravím jde nějak udělat to že když někdo dá /fq tak to napíše že se odpojil a v tabu by nebyl vydět?
-
Napíšu to jinak. Mohli by jste mi prosím pomoct najít a odstranit chybu?
-
Zdravím mám tyhle chybné řádky public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys == KEY_WALK){//L.ALT pro zaměstnání if(job[playerid] == 1) return SendClientMessage(playerid, GREEN, "[** ERROR **] Zde už jsi zaměstnán!"); a chyba D:\Documents and Settings\David\Plocha\Test.pwn(546) : error 029: invalid expression, assumed zero D:\Documents and Settings\David\Plocha\Test.pwn(547) : error 001: expected token: ";", but found "{" D:\Documents and Settings\David\Plocha\Test.pwn(549) : error 029: invalid expression, assumed zero D:\Documents and Settings\David\Plocha\Test.pwn(549) : warning 215: expression has no effect D:\Documents and Settings\David\Plocha\Test.pwn(549) : error 001: expected token: ";", but found ")" D:\Documents and Settings\David\Plocha\Test.pwn(549) : error 029: invalid expression, assumed zero D:\Documents and Settings\David\Plocha\Test.pwn(549) : fatal error 107: too many error messages on one line
-
díky teď mi to už jen píše D:\Documents and Settings\David\Plocha\Test.pwn(458) : error 010: invalid function or declaration D:\Documents and Settings\David\Plocha\Test.pwn(460) : error 010: invalid function or declaration if(alevel[playerid] !> 3) return SendClientMessage(playerid,BARVA_BILA, "Nemáš admin level 2");//pokud nema admin level 2 if(alevel[playerid] < 4) return SendClientMessage(playerid,BARVA_BILA, "Nemáš admin level 2");//pokud nema admin level 1 nebo 2
-
teď mi to píše toto D:\Documents and Settings\David\Plocha\Test.pwn(381) : warning 209: function "OnDialogResponse" should return a value D:\Documents and Settings\David\Plocha\Test.pwn(442) : error 012: invalid function call, not a valid address D:\Documents and Settings\David\Plocha\Test.pwn(442) : warning 215: expression has no effect D:\Documents and Settings\David\Plocha\Test.pwn(442) : warning 215: expression has no effect D:\Documents and Settings\David\Plocha\Test.pwn(442) : error 001: expected token: ";", but found ")" D:\Documents and Settings\David\Plocha\Test.pwn(442) : error 029: invalid expression, assumed zero D:\Documents and Settings\David\Plocha\Test.pwn(442) : fatal error 107: too many error messages on one line tamty už jdou jen ten první new alvl = chrfind(' ',params) + 1;//nadefinujeme si admin level jako 2. params(chrvind ten pořád hází chybu
-
a jak to mám nadefinovat?
-
Zdravím dávám do svého GM admin levely ale vypisuje mi toto D:\Documents and Settings\David\Plocha\Test.pwn(414) : error 017: undefined symbol "chrfind" D:\Documents and Settings\David\Plocha\Test.pwn(425) : error 010: invalid function or declaration D:\Documents and Settings\David\Plocha\Test.pwn(427) : error 010: invalid function or declaration a na těch rádcích je new alvl = chrfind(' ',params) + 1;//nadefinujeme si admin level jako 2. params(chrvind if(alevel[playerid] !> 3) return SendClientMessage(playerid,BARVA_BILA, "Nemáš admin level 2");//pokud nema admin level 2 if(alevel[playerid] < 4) return SendClientMessage(playerid,BARVA_BILA, "Nemáš admin level 2");//pokud nema admin level 1 nebo 2
-
nebo http://pawno.cz/topic/24199-vip-ucet-setvip-setvipoff/
-
D:\Documents and Settings\David\Plocha\Test.pwn(119) : error 017: undefined symbol "PlayerName" D:\Documents and Settings\David\Plocha\Test.pwn(120) : warning 217: loose indentation D:\Documents and Settings\David\Plocha\Test.pwn(126) : error 017: undefined symbol "PlayerName" D:\Documents and Settings\David\Plocha\Test.pwn(127) : warning 217: loose indentation D:\Documents and Settings\David\Plocha\Test.pwn(157) : error 017: undefined symbol "dcmd" D:\Documents and Settings\David\Plocha\Test.pwn(158) : error 017: undefined symbol "dcmd" D:\Documents and Settings\David\Plocha\Test.pwn(159) : warning 217: loose indentation D:\Documents and Settings\David\Plocha\Test.pwn(313) : warning 209: function "OnDialogResponse" should return a value D:\Documents and Settings\David\Plocha\Test.pwn(351) : warning 203: symbol is never used: "dcmd_setvip" D:\Documents and Settings\David\Plocha\Test.pwn(351) : warning 203: symbol is never used: "dcmd_setvipoff"
-
Zdravím dal jsem do módu #include <mysql> a napsalo mi to toto D:\Documents and Settings\David\Plocha\Test.pwn(13) : fatal error 100: cannot read from file: "mysql" když jsem to smazal tak mi to napsalo D:\Documents and Settings\David\Plocha\Test.pwn(118) : error 017: undefined symbol "dUserINT" D:\Documents and Settings\David\Plocha\Test.pwn(118) : error 029: invalid expression, assumed zero D:\Documents and Settings\David\Plocha\Test.pwn(118) : warning 215: expression has no effect D:\Documents and Settings\David\Plocha\Test.pwn(119) : warning 217: loose indentation D:\Documents and Settings\David\Plocha\Test.pwn(125) : error 017: undefined symbol "dUserSetINT" D:\Documents and Settings\David\Plocha\Test.pwn(125) : error 029: invalid expression, assumed zero D:\Documents and Settings\David\Plocha\Test.pwn(125) : warning 215: expression has no effect D:\Documents and Settings\David\Plocha\Test.pwn(126) : warning 217: loose indentation D:\Documents and Settings\David\Plocha\Test.pwn(156) : error 017: undefined symbol "dcmd" D:\Documents and Settings\David\Plocha\Test.pwn(157) : error 017: undefined symbol "dcmd" D:\Documents and Settings\David\Plocha\Test.pwn(158) : warning 217: loose indentation D:\Documents and Settings\David\Plocha\Test.pwn(312) : warning 209: function "OnDialogResponse" should return a value D:\Documents and Settings\David\Plocha\Test.pwn(350) : warning 203: symbol is never used: "dcmd_setvip" D:\Documents and Settings\David\Plocha\Test.pwn(350) : warning 203: symbol is never used: "dcmd_setvipoff" D:\Documents and Settings\David\Plocha\Test.pwn(350) : warning 203: symbol is never used: "ret_memcpy"
-
Zdravím nevím jak mám udělat toto #include <a_samp> #define modra 0x0000FFAA public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/oprava", true) == 0){ if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,modra," Neseš v Aute Ty Neger xD"); new repair; repair = GetPlayerVehicleID(playerid); SetVehicleHealth(repair, 1000); SendClientMessage(playerid,**Vase Barva**,"[-!-]Opravil Si AuTo"); return 1; } if(strcmp(cmdtext, "/znicit", true) == 0){ if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,modra,"[-!-]Nejsi v *Aute*"); new bum; bum = GetPlayerVehicleID(playerid); SetVehicleHealth(bum, 0.0); SendClientMessage(playerid,**Barva**,"[ BYE ]Auto Si Znicil xD"); return 1; } if(strcmp(cmdtext, "/pancir", true) == 0){ if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,modra,"[-!-]Neseš V Aute"); new nocrashcar; nocrashcar = GetPlayerVehicleID(playerid); SetVehicleHealth(nocrashcar, 9999*100); SendClientMessage(playerid,**Vase*Barva**,"[ xD ] Opanciroval Si Auto"); return 1; } háže mi to tuto chybu D:\Documents and Settings\David\Plocha\GameModes\PrisonBreak.pwn(82) : error 029: invalid expression, assumed zero D:\Documents and Settings\David\Plocha\GameModes\PrisonBreak.pwn(82) : error 017: undefined symbol "Barva" D:\Documents and Settings\David\Plocha\GameModes\PrisonBreak.pwn(82) : error 029: invalid expression, assumed zero D:\Documents and Settings\David\Plocha\GameModes\PrisonBreak.pwn(82) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors.
-
D:\Documents and Settings\David\Plocha\Untitled.pwn(41) : error 017: undefined symbol "dcmd" D:\Documents and Settings\David\Plocha\Untitled.pwn(42) : warning 217: loose indentation D:\Documents and Settings\David\Plocha\Untitled.pwn(44) : error 055: start of function body without function header D:\Documents and Settings\David\Plocha\Untitled.pwn(46) : error 010: invalid function or declaration D:\Documents and Settings\David\Plocha\Untitled.pwn(49) : error 010: invalid function or declaration D:\Documents and Settings\David\Plocha\Untitled.pwn(239) : error 055: start of function body without function header D:\Documents and Settings\David\Plocha\Untitled.pwn(240) : error 017: undefined symbol "params" D:\Documents and Settings\David\Plocha\Untitled.pwn(242) : error 021: symbol already defined: "SendClientMessage" D:\Documents and Settings\David\Plocha\Untitled.pwn(248) : error 010: invalid function or declaration D:\Documents and Settings\David\Plocha\Untitled.pwn(336) : error 055: start of function body without function header D:\Documents and Settings\David\Plocha\Untitled.pwn(337) : error 010: invalid function or declaration D:\Documents and Settings\David\Plocha\Untitled.pwn(342) : error 010: invalid function or declaration D:\Documents and Settings\David\Plocha\Untitled.pwn(346) : warning 203: symbol is never used: "dcmd_pravidla" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 11 Errors. Celý script : #include <a_samp> #include Double-O-Files-2 #if defined FILTERSCRIPT #define MAX_PLAYERS_EX 500 public OnPlayerCommandText(playerid,cmdtext[]) { dcmd(pravidla, 8, cmdtext); return 0; } { if (strcmp("/ranklist", cmdtext, true, 10) == 0) { ListRank(playerid); return 1; } stock LoadRankForPlayer(playerid) { } dcmd_pravidla(playerid, params[]) } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } // Pravidla #pragma tabsize 0 #define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1 #define GREEN 0x00FF00FF { #pragma unused params SendClientMessage(playerid, 0x00FF00FF,"~~~~~~~~~~forum.tvminecraft.eu~~~~~~~~~~"); SendClientMessage(playerid, 0x00FF00FF,"~~~~~~~~~~Pravidla~~~~~~~~~~"); SendClientMessage(playerid, 0xFFEE00FF,"1) Nehackuj"); SendClientMessage(playerid, 0xFFEE00FF,"2) Nespamuj"); SendClientMessage(playerid, 0xFFEE00FF,"3) Nenadavej"); SendClientMessage(playerid, 0xFFEE00FF,"4) Poslouchej vzdy adminy"); return 1; } // Rank System #define RANK_PATH "Test/Ranks.ini" new Ranks; public OnFilterScriptExit() { DOF2_Exit(); return 1; } public OnFilterScriptInit() { if(DOF2_FileExists(RANK_PATH)) { printf("Soubor \"%s\" nalezen..",RANK_PATH); }else{ printf("Soubor \"%s\" nenalezen..",RANK_PATH); printf("Vytvářím \"%s\"....",RANK_PATH); if(DOF2_CreateFile(RANK_PATH)) { printf("Soubor \"%s\" vytvořen..",RANK_PATH); }else{ printf("Soubor \"%s\" nevytvořen..",RANK_PATH); } } AddRank(1,"Prvni",1,2,3,5.5); AddRank(2,"Druhy",4,5,6,6.6); AddRank(3,"Treti",1,2,3,5.5); AddRank(4,"Ctvrty",4,5,6,6.6); AddRank(5,"Paty",1,2,3,5.5); AddRank(6,"Sesty",4,5,6,6.6); AddRank(7,"Sedmy",1,2,3,5.5); AddRank(8,"Osmy",4,5,6,6.6); AddRank(9,"Devaty",4,5,6,6.6); AddRank(10,"Desaty",4,5,6,6.6); return 1; } stock AddRank(id,name[],weap1,weap2,weap3,Float:arm,score = 5000) { new string[5]; format(string,5,"%i",id); DOF2_SetString(RANK_PATH,"RankName",name,string); DOF2_SetInt(RANK_PATH,"Zbran-1",weap1,string); DOF2_SetInt(RANK_PATH,"Zbran-2",weap2,string); DOF2_SetInt(RANK_PATH,"Zbran-3",weap3,string); DOF2_SetFloat(RANK_PATH,"Armor",arm,string); DOF2_SetInt(RANK_PATH,"Score",score,string); DOF2_SaveFile(); Ranks = id; return id,printf("| - Rank (ID:%i) - %s - |",id,name); } stock SetPlayerRank(playerid,rank) { new string[5]; format(string,5,"%i",rank); SetPVarInt(playerid,"Rank",rank); SetPVarString(playerid,"RankName",DOF2_GetString(RANK_PATH,"RankName",string)); SetPVarInt(playerid,"W1",DOF2_GetInt(RANK_PATH,"Zbran-1",string)); SetPVarInt(playerid,"W2",DOF2_GetInt(RANK_PATH,"Zbran-2",string)); SetPVarInt(playerid,"W3",DOF2_GetInt(RANK_PATH,"Zbran-3",string)); SetPVarFloat(playerid,"Armor",DOF2_GetFloat(RANK_PATH,"Armor",string)); } stock GetPlayerRank(playerid) { return GetPVarInt(playerid,"Rank"); } stock ListRank(playerid) { new str[144],st[2048],s[5]; for(new i=1;i < Ranks+1;i++) { format(s,5,"%i",i); format(str,144,"{00FF00}ID {FFFFFF}: {00AA00}%i \t{FFFFFF}|\t {FF0000}%s \t{FFFFFF}|\t {0000FF}Potřebné score {00AA00}%i\n",i,DOF2_GetString(RANK_PATH,"RankName",s),DOF2_GetInt(RANK_PATH,"Score",s)); strcat(st,str); } ShowPlayerDialog(playerid,0,0,"Rank's - v1.0",st,"Zavřít",""); } { if(GetPlayerRank(playerid) == 0) return 0; GivePlayerWeapon(playerid,GetPVarInt(playerid,"W1"),random(150)+10); GivePlayerWeapon(playerid,GetPVarInt(playerid,"W2"),random(150)+10); GivePlayerWeapon(playerid,GetPVarInt(playerid,"W3"),random(150)+10); SetPlayerArmour(playerid,GetPVarFloat(playerid,"Armor")); return 1; }
-
mám toto public OnPlayerCommandText (playerid, cmdtext[]) { dcmd(pravidla, 8, cmdtext); return 0; } a toto public OnPlayerCommandText(playerid,cmdtext[]) { if (strcmp("/ranklist", cmdtext, true, 10) == 0) { ListRank(playerid); return 1; } to se má dat dohromady jako public OnPlayerCommandText(playerid,cmdtext[]) { if (strcmp("/ranklist", cmdtext, true, 10) == 0) { ListRank(playerid); return 1; } { dcmd(pravidla, 8, cmdtext); return 0; } ??
-
Zdravím ve scriptu mám 2x OnPlayerCommandText nevíte jak mám udělat aby mi to ten 2. vzalo?
-
/ranklist
-
Já ho chápu ale nenapsal to přesně je to asi něco jako že chce na ten metin2 server přibližně 15-20 eur měsíčně a za to ty bannery atd...
-
Zdravím nevím kdy to úplně využiju tak vám sem dám můj web na hosting i návod jak vse pozměnit (je v tom zmatek vše upravim) je to první verze nevím kolik bude celkem verzí ale určitě chystám další Prosím dodržujte Copyright ukázka : http://adf.ly/DkJQR Počet stažení : 0 <- dobré číslo download: http://adf.ly/DkfT5 návody: Musíte mít databázy (tipuju že každý má) jestli ne tak si udělejte a pak otevřete soubor config.php je v rootu pak adm pak v chat je tam toto <?php mysql_connect("server", "jmeno", "heslo"); mysql_select_db("databaze"); mysql_error(); ?> ve složce host je také config.php ale tam je <?php $spojeni = mysql_connect("server","jmeno","heslo" ) or die ('Spatne zadane udaje (asi heslo, server nebo jmeno.) v inc/db.php'); // zaměňte za své údaje od mysql $db = mysql_select_db("databaze", $spojeni) or die ('Spatne zadana databaze v config.php'); // zaměňte za své údaje od mysql ?> doufám že víte co s tím jděte do databáze -> SQL a dejte tam obsah souboru tabulky.sql v headeru změňte název -> header.php bude tam GameHosting | TVMinecraft.eu to změnte na svůj to je asi vše kdyžtak hodnoťte první verzi jestli sem něco zapoměl zapsat řekněte promiňte že to dávám na adf.ly ale potřebuju peníze