menü

Üzenetek megjelenítése

Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van.

Üzenetek megjelenítése menü

Üzenetek - JackBronson

#1381
Csõsztök ezt nem hagyhattam ki,hogy ne publikáljam ide  :D
Bocsi,hogy ennyi izét nyitottam már (2-õt )
Ezt a plugint a www.sa-mp.com oldalon találtam.
Ez aplugin képes arra,hogy megtalálja a crash okát a PAWN- fájlba és asort is leirja...
KÉszítõ: 0x5A656578
Eredeti fórum: http://forum.sa-mp.com/showthread.php?t=262796\" rel=\"external nofollow\">http://forum.sa-mp.com/showthread.php?t=262796
Tegyük fel,hogy futtatja a következõ játék módot:
[pawn]#include <a_samp>
main() {
    function1();
}
function1() {
    function2();
}
function2() {
    new buf[10];
    fread(File:123, buf);
}[/pawn]
VAlahogy igy...
Alapértelmezés szerint a funkció 2 szóval a windows a 2-est olvasatlannak fogja venni...
És ha be crashelt akkor valami lyen üzenetet kapunk:
[pawn][18:18:21] The server has been crashed by fread at line 13 in crash.pwn.
[18:18:21] Stack trace of gamemodes\\crash.amx (most recent call first):
[18:18:21] #2: function2 on line 8 in crash.pwn
[18:18:21] #1: function1 on line 4 in crash.pwn
[18:18:21] #0: main (entry point) in crash.pwn[/pawn]
Ha jól megnézed rájösz mit rejt...
Telepités (Egyszerû)
Rámegyünk erre a linkre
https://github.com/Zeex/crashdetect/archives/master\" rel=\"external nofollow\">https://github.com/Zeex/crashdetect/archives/master
itt rámegyünk a 
crashdetect-3.1.3-bin.zip
letöltöttük
mappa tartalma:
crashdetect.dll EZ a windowsos szerver esetén
crashdetect.so Linux esetén
Ugyan ugy a plugin mappa és a server.txt -be beirod a nevét
utána
a szerver fõkönyvtárba ezt bele másolod
crashdetect.log
&
crashdetect.cfg
ezekbe menti le a infot-
Utána már használatra kész de elötte a módodba ezt ird bele:
[pawn]public OnGameModeInit()
{
    new bla[5];
    new fffuuuu = 0;
    fffuuuu = 100;
    bla[fffuuuu] = 100;
    return bla[fffuuuu];
}[/pawn]
Ezzel futatja át...
Remélem valakinek jól jön...
#1382
Pluginok és Programok / Anti Cheat By Gamer_Z
2011. augusztus 30. - 19:01:46
Csõsztök találtam egy AntiCheat plugint a www.sa-mp.com oldalon és gondoltam ide is áthozom
(Nem én csináltam)
Amiket tud:
 
In short:
-High performance, instant cheat detection!
-Highly Customizable!
-Jetpack detection - Instant - you even won\'t get one meter from the ground!
-VERY ADVANCED Weapon detection - no-one spawns any weapons without your knowledge!
-Best anti money hack! - INSTANT DETECTION!

 
Szóval JackPacknál bannol...
Fegyver & Pénz & armor & élet cheatnél BANNED
Egykét tudni való:
Ahoz,hogy használhassuk teendõk:
Elösször a módunkba belekkel épitenünk a
#include <AnticheatPlugin>
Részletesebben
Ez a AntiCheatPlugin tartalmaz:
[pawn]#define AC_ACTION_ONMONEY_REPORT    (0)
#define AC_ACTION_ONMONEY_RESET     (1)
#define AC_DETECTED_WEAPON          (0)
#define AC_DETECTED_JETPACK         (1)
#define AC_DETECTED_MONEY           (2)[/pawn]
Callback
[pawn]public AC_OnCheatDetected(playerid,cheat_type,ac_extra)[/pawn]
Funkciók:
[pawn]native ACget_UpdateDelay();
native ACset_UpdateDelay(ac_ticks);
native ACget_JetpackCheck();
native ACset_JetpackCheck(ac_enable = 1);
native ACget_JetpackAllowed(playerid = 0);
native ACset_JetpackAllowed(ac_allowed = 1,playerid = (-1));
native ACget_WeaponCheck();
native ACset_WeaponCheck(ac_enable = 1);
native ACset_AllowedWeapon(weaponid,ac_allowed = 1,playerid = (-1));
native ACget_AllowedWeapon(weaponid,playerid = 0);
native ACgive_PlayerWeapon(playerid, weaponid, ammo);
native ACreset_PlayerWeapons(playerid);
native ACset_SpawnWeaponCheck(enable = 1);
native ACget_SpawnWeaponCheck();
native ACset_MoneyCheck(ac_enable = 1);
native ACget_MoneyCheck();
native ACget_ActionOnMoneyCheat();
native ACset_ActionOnMoneyCheat(ac_action = 0);
native ACget_PlayerMoney(playerid);
native ACgive_PlayerMoney(playerid,amount);
native ACset_PlayerMoney(playerid,amount);[/pawn]
Példa script,hogy hogyan is kéne használni:
[pawn]#include <a_samp>
#include <AnticheatPlugin>
public OnGameModeInit()
{
    ACset_JetpackCheck(1);
    ACset_WeaponCheck(1);
    ACset_MoneyCheck(1);
    ACset_JetpackAllowed(0);//Jetpack is NOT allowed
    ACset_SpawnWeaponCheck(1);
    ACset_AllowedWeapon(38,0);//disable minigun for everyone
    return 1;
}
public AC_OnCheatDetected(playerid,cheat_type,ac_extra)
{
    switch(cheat_type)
    {
        case AC_DETECTED_WEAPON:
        {
            ACreset_PlayerWeapons(playerid);
            SendClientMessage(playerid,0xFFFFFFFF,\"Detected weapon cheat - Reset your weapons.\");
            return 1;
        }
        case AC_DETECTED_JETPACK:
        {
            SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE);
            SendClientMessage(playerid,0xFFFFFFFF,\"Detected JetPack - removed it.\");
            return 1;
        }
        case AC_DETECTED_MONEY:
        {
            ACset_PlayerMoney(playerid,ACget_PlayerMoney(playerid));
            SendClientMessage(playerid,0xFFFFFFFF,\"Money Cheat Detected - Money reset!\");
            return 1;
        }
        default:
        {
            SendClientMessage(playerid,0xFFFFFFFF,\"???? Unknown cheat Detected? - no action ??? :(\");
            return 1;
        }
    }
    return 1;
}[/pawn]
De jöhet is a letöltés  ;)
Elõtte még a Linux esetén:
[pawn]# This file demonstrates how to compile the AntiCheat project on Linux.
#
# To compile AntiCheat do:
#
# make AntiCheat
#
GPP = g++
GCC = gcc
AntiCheat_OUTFILE = \"plugins/AntiCheat.so\"
COMPILE_FLAGS = -m32 -fPIC -c -O3 -w -D LINUX -D PROJECT_NAME=\\\"AntiCheat\\\" -I ./SDK/amx/
AntiCheat = -D AntiCheat $(COMPILE_FLAGS)
all: AntiCheat
clean:
-rm -f *~ *.o *.so
AntiCheat: clean
$(GPP) $(AntiCheat) ./SDK/amx/*.c
$(GPP) $(AntiCheat) ./SDK/*.cpp
$(GPP) $(AntiCheat) *.cpp
$(GPP) -m32 -O2 -fshort-wchar -shared -o $(AntiCheat_OUTFILE) *.o[/pawn]
http://anti-cheat.googlecode.com\" rel=\"external nofollow\">http://anti-cheat.googlecode.com
letöltés
eredeti hey:
http://forum.sa-mp.com/showthread.php?t=268052\" rel=\"external nofollow\">http://forum.sa-mp.com/showthread.php?t=268052
#1383
SA-MP / Open.mp: Szerverfejlesztés / Alap játékmód
2011. augusztus 30. - 18:50:56
Nekem tetszik,valamit felhasználok belõle ha nem baj :)  :mistrust:
#1384
Én megmondom a véleményem.
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Nekem nem annyira tetszik.
Nemjók az illesztések.
Ez a véleményem!

 
Am rakj teleport koordinátát
#1386
Segítségkérés / Mit jelent?
2011. augusztus 30. - 18:20:14
Akkor nemtom pedig ez azt jelenti,hogy a szimbolum vagyis a OnVehicleStreamIn
Már egyszer bevan definiálva biztos nincs?
Nézd át..
#1387
Segítségkérés / Mit jelent?
2011. augusztus 30. - 18:14:11
[pawn]error 021: symbol already defined: \"OnVehicleStreamIn\"[/pawn]
nincs be definiálva a OnVehicleStreamIn
Ird a módod elejére
forward OnVehicleStreamIn(vehicleid, forplayerid);
Igy jólesz...
Vagy ha igy sem ird ezt a módod aljára
public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}
VAyg ez magyarra forditva azt jelenti,hogy
A szimbolum már definiálva van szóval lehet,hogy a módban ez 2x-er szerepel
OnVehicleStreamIn
#1388
SA-MP / Open.mp: Szerverfejlesztés / Zombi vs Ember
2011. augusztus 30. - 17:56:29
Csõsztök feltöltöm ide is egy angol módot aminek a neve:
Zombi vs Ember mód
Amit a www.sa-mp.com oldalról töltöttem le
Szerintem bisztosan ismeritek
Eredeti téma:/Képek a témába...
http://forum.sa-mp.com/showthread.php?t=255241\" rel=\"external nofollow\">http://forum.sa-mp.com/showthread.php?t=255241
Ha megnézted akkor jöhetnek a tudni valók...
Ezek kellenek hozzá:
Streamer Plugin by incoginto http://forum.sa-mp.com/showthread.php?t=102865\" rel=\"external nofollow\">http://forum.sa-mp.com/showthread.php?t=102865
Dini By dracoblue http://dracoblue.net/download/dini-16/35/\" rel=\"external nofollow\">http://dracoblue.net/download/dini-16/35/
Dutils By dracoblue http://dracoblue.net/download/dutils-110/30/\" rel=\"external nofollow\">http://dracoblue.net/download/dutils-110/30/
Dudb by dracoblue http://dracoblue.net/download/dudb-24/31/\" rel=\"external nofollow\">http://dracoblue.net/download/dudb-24/31/
Angól verzió:
http://pastebin.com/nPMr8B9z\" rel=\"external nofollow\">http://pastebin.com/nPMr8B9z
&
Angól leirás:
 
OTHER VERSIONS OF SCRIPT
Code:
Zombie-Mods I Released
Zombie-Mod 3.0 || Zombie-Mod 2.0 || Zombie-Mod 1.0 || Halloween Zombie-Mod Zombie-Mod 2.0 Unfinshed
 
Description: Zombie-Mod is a great gameplay like team deathmatch or deathmatch but in zombie-mod you usually have 2 teams only humans and zombies , zombies have knifes and they have to attack humans they have to hit the humans couple of times with knife and that will turn humans in to the zombie team and as for humans they have to survive some maps are special that it has cars for humans to drive around in the map to survive as i explained what zombie-mod is this is my 3rd version releasing of the v1 i started in 2010 so have fun
Info:
Human Skins ( 285 )
Zombie Skins ( 230 , 162 , 137 )
Human Weapons ( M4 , Shotgun , Deagle ) note: you can buy weapons at /buy which is a menu not made by me
Zombie Weapons ( Knife )
this script also have a Experience script made by me starts of 0/500 but once you reach 500 noting really happens you can do that part yourself
There are 16 Zombie Maps total the map names are:
note: not all these maps are made by me some are from samp forums.
ZM_DUST
ZM_GROVESTREET
ZM_BRIDGE
ZM_ROOFTOPS 2
ZM_OLDWEST
ZM_CARNIVAL
ZM_MADDOG
ZM_JEFFERSONMOTEL
ZM_SEWERS
ZM_ROOFTOPS 1
ZM_SHOPPING
ZM_MEDIEVAL
ZM_LASVEGAS
ZM_ITALY
ZM_CANALS
ZM_BOMBSITE
Pictures:
Pictures Also added in original thread:
Picking your team ignore DC this was my server script until i released it

 
Magyar verzió: Forditotta: (Én)
http://solidfiles.com/d/91d15/\" rel=\"external nofollow\">http://solidfiles.com/d/91d15/
kell hozzá a map is
Külön FS
http://solidfiles.com/d/a5454/\" rel=\"external nofollow\">http://solidfiles.com/d/a5454/
A módit irta: Kitten
Én csak forditottam és bövitettem 3 mappal.
+ 1 bugot javitottam
Akinek nem indulna az irjon ide...
(Bocsi ha már valaki felrakta volna...Én még nemláttam és gondolom feltöltöm)
Aki letölti és használja az tegye meg,hogy dob egy + -t  :)
A módban már van 1-2 objekt de az nem elég van külön FS-be
#1389
Idézetet írta: Alpha date=1277303100\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"1824\" data-ipsquote-contentclass=\"forums_TopicNekem valamiért nem muködik pedig mindent úgy csináltam és a pwno sem ír ki hát de a DOS boxba azt írja nem tudja olvasni akármilyen file-t rakok bele
Audio config
[custom]
1 = rendor1.wma
2 = rendor2.wma
3 = rendor3.wma
4 = rendor4.wma
5 = rendor5.wma
archive = AMBIENCE
archive = CUTSCENE
 
próbáld igy:
1 = rendor1.mp3
2 = rendor2.mp3
3 = rendor3.mp3
4 = rendor4.mp3
5 = rendor5.mp3
És a Audio_Default mappába a zene fájlnak a neve ezek legyenek:
rendor1
rendor2
stb...
Nekem már volt ez abaj...
#1390
Segítségkérés / Checkpoint
2011. augusztus 30. - 16:35:09
Azért kell neki értéket adni,hogy mivel lehet több CP is a script-be és több funkciója is lehet a  CP-nek...
#1391
Segítségkérés / mi a hiba??
2011. augusztus 30. - 16:27:56
A {} jelekkel lesz a baj ha tutsz várni mindjárt átnézem és megoldom...
Ez egy angol módbol van ez a script...
Csak egy pár dolgo más benne...
#1392
SA-MP / Open.mp: Szerverfejlesztés / The Godfater! v3.00
2011. augusztus 30. - 16:01:45
Idézetet írta: Erik3333 date=1314600381\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"2622\" data-ipsquote-contentclass=\"forums_TopicHelló!
Miért írja ki a szerver indításánál, hogy AmxUnload?
 
Mivel nem találja az AMX-et konvertáld át ujra aGameModot ((Futtasd át a PAWN fájlt ))
Amugy tényleg egy nagy rakat bug az egész ....
A rendõr munkátol kezdve ....
nem lehet a /duty -t használni stb...  :mistrust:
#1393
Szkript kérések / War Szerver
2011. augusztus 29. - 16:34:33
És mit számláljon a számláló?Mert én megcsinálom ha megadod ,hogy mit kell számlálni  :mistrust: pl
Ölések számát-- stb...
#1394
SA-MP / Open.mp: Szerverfejlesztés / EDTM
2011. augusztus 29. - 16:28:16
Egyszerübben is meglehetett volna oldani minek ennyi new?
 
new dialog_1;
new dialog_2;
new dialog_3;
new dialog_4;
new dialog_5;
new dialog_6;
new dialog_7;
new dialog_8;
new dialog_9;
new dialog_10;
new dialog_11;
new dialog_12;
new dialog_13;
new dialog_14;
new dialog_15;
new dialog_16;
new dialog_17;
new dialog_18;
new dialog_19;
new dialog_20;

 
Én meg csinálom neked 2 perc alatt eszt 1 new nélkül...  :mistrust:
#1395
Szkript kérések / Scriptet szeretnék kérni
2011. augusztus 28. - 17:04:40
Idézetet írta: scripter01 date=1314089722\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"10748\" data-ipsquote-contentclass=\"forums_TopicMajd segítek csak meg kell írnom :D

Dupla hozzászólás automatikusan összefûzve. ( 2011. augusztus 23. - 15:34:22 )

Tessék a kocsi át alakító kész :D
 
if(egyezik(cmd, \"/ujkinezet\"))
{
    if(IsPlayerConnected(playerid))
{
   if(!Admin(playerid, 6)) return 1; // ide akkor admin-t írsz amekkorát akarod h lehessen a parancsot használni
   tmp = strtok(cmdtext, idx);
   if(!strlen(tmp))
   {
      SendClientMessage(playerid, COLOR_GRAD2, \"Használat: /ujkinezet [model]\");
      return 1;
   }
   new model;
   model = GetVehicleModelIDFromName(tmp);
   if(model == -1)
   {
       SendClientMessage(playerid, COLOR_YELLOW, \"Nincs létezik ilyen kocsi!\");
       return 1;
   }
   new kocsi = GetClosestVehicle(playerid);
   if(GetDistanceToVehicle(playerid, kocsi) > 5.0) return Msg(playerid, \"Nincs jármû a közeledben!\");
   new vs = IsAVsKocsi(kocsi); // ezt írd át arra ami a v-s kocsi neve pl VSKocsik vagy ami neked vna írva
   if(vs == NINCS) return Msg(playerid, \"Ez nem V-s!\");
   CarInfo[vs][cModel] = model;
   DestroyVehicle(kocsi);
   CarInfo[vs][cId] = UjKocsi(model, CarInfo[vs][cLocationx], CarInfo[vs][cLocationy], CarInfo[vs][cLocationz], CarInfo[vs][cAngle], CarInfo[vs][cColorOne], CarInfo[vs][cColorTwo]);
   //CarUpdate(vs, \"Model=\'%d\'\", model);
   CarUpdate(vs, CAR_Model);
   UnFreeze(playerid);
   SendFormatMessage(playerid, COLOR_LIGHTRED, \"V-s [%d] kocsiátalakítva! Tulaja %s\", vs, CarInfo[vs][cOwner]);
   return 1;
}
return 1;
}

 

EZ már ránézésbõl nem fog menni.Mivel sok minden nincs be definiálva pl a Msg
Jól kiszetted aCryRPG-bõl vagy a Seebõl mindegy...