It is currently 23 Jul 2018 07:11






Reply to topic  [ 11 posts ] 
 AMXX Unstuck [Manual Updated] 
Author Message
Fost administrator
Fost administrator
User avatar

Joined: 07 Aug 2008 16:33
Posts: 9316
Location: Darabani
Detinator Steam: Da
Detinator server CS: CS.eXtream.Ro
Reputatie: Fost administrator
Fost Scripter
Detinator ZM.eXtream.Ro
Fost manager CS.eXtream.Ro
Fost manager CSGO.eXtream.Ro
Fost manager global
Fond eXtream: 0
AMXX Unstuck [Manual Updated]

Descriere: Dupa cum stiti mult cautatul plugin Unstuck [Deblocheaza] daca ramaneti blocati in orice fel de blocaj pe server in timpul jocului cand sunteti in viata pluginul va instaleaza pe server comanda /unstuck pe care o puteti folosi pentru a va debloca :)
Info: Stiu ca multi o sa spuneti ca mai exista astfel de pluginuri bine mai exista pentru ca si acesta este portat dintr-un plugin official de pe AM cu fixuri si update-uri ele sunt

Changelog | Afiseaza codul
Code:
*   v1.7.3
*   - Fixed chat commands not working
*   - Remove 2 chat messages displayed from new spawn
*   - Removed changelog from .SMA
*   - Hidden chat commands /
*   - TESTED All OK!
*   
*   v1.7.2
*   - Completly rewritten using Arkshine / Hamlet way
*   - Removed fun not needed
*   - Updated set_hudmessage func
*   - Added two new pCvars
*   - Updated list of comands and removed (say_team)
*   - commands used as statics
*   - Code improved
*   - Removed case 0 from switch function added default
*   - Removed unnecesary codes

v1.5.3
*   - Removed auto unstuck and added command /unstuck for bouth say and say_team
*   - Removed auto Hud Messages and added chat messsage
*   - Fixed working with semiclip
*   - Changed cvars to pCvars
*   - Removed set_task ( 0.1 ) because of the flood check
*   - Updated to a nice code view
*   - Added message info
*   - Added Zombie Mod Fix
*   * Awayting suggestions :)

Credits | Afiseaza codul
Code:

*      Arkshine    - for the new method of origins spawn
*   Hamlet Eagle   - for pointing that out
*   NL)Ramon(NL    - Original plugin ideea


* Mai invatati si engleza :))

Stable Recommended:
v1.7.3 Ultima
Descarcare: AMXX + SMA Arhiva [.ZIP] - Link !
Sursa: pastebin


Nume: Manual Unstuck
Versiune: 1.7.3
Link oficial: Here!

Instalare:
1. Fisierul manual_unstuck.sma il puneti in addons/amxmodx/scripting
2. Fisierul manual_unstuck.amxx il puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
Code:
manual_unstuck.amxx


Cvar-uri (se adauga in fisierul amxmodx\configs\amxx.cfg):
    amx_comanda VALOARE - descrierea comenzii respective
    amx_unstuck 0 / 1 - Plugin oprit / pornit , DEFAULT: 1
    amx_autounstuckeffects 0 / 1 - Efectele pluginului [incluzand sunetele] oprite / pornite , DEFAULT: 1
    amx_autounstuckwait NR - Timp de asteptare pana a folosi din nou comanda , DEFAULT 7 secunde
    amx_unst_announce 0 / 1 - Anunturi prin mesaje chat / hud [va selectati mai jos ce fel de anunt] despre comanda DEF: 1
    amx_ann_time Time - Timpul de reafisare a mesajelor [in secunde] DEF: 120 [2 minute]
    amx_ann_type 0 / 1 / 2 - Tipul mesajului afisat, 0[inactiv] , 1[chat], 2[ hud] DEF: 1
  • cvaruri noi incepand cu [v1.7.2]
    amx_ann_hold - Timpul cat sa tina mesajul HUD , DEF: 15 secunde
    amx_ann_effects - Efectele mesajului HUD [0: Fara efecte, 1: Sclipire, 2: Scrie mesajul de mana] , DEF: 0

Comenzi administrative (se tasteaza in consola si trebuie sa fiti administrator):
- Toate cele de mai sus sunt Administrative!

Comenzi publice (se tasteaza in joc prin apasarea tastei Y / U):
    /unstuck - Va deblocati
      /unblock - Va deblocati
        /stuck - Va deblocati

Module necesare (se sterge ; din fata modulului de mai jos; acestea le gasiti in fisierul amxmodx\configs\modules.ini):
* Daca aveti AMX Mod X 1.8.0 sau mai mare nu mai sunt necesari acest pasi!
- Fakemeta
- Fun

FAQ:
Q: Cum folosesc pluginul pe Zombie Mod ? [BIO & ZP] pentru ca la zombii sa nu le functioneze comanda?
A: In sursa pluginului v-am adaugat
Code:
// Default NO Mod
#define USE_DEFAULT
 
// Zombie Plague 4.3 and 5.0
// #define USE_ZPMOD
 
// Biohazard [ALL Version]
// #define USE_BIOMOD                         

Comentati (//) si decomentati liniile la dorinta dar
ATENTIE! Doar una din ele trebuie sa fie Activa, deci daca vrem sa folosim pluginul cu Zombie Plague modificam cam asa
Code:
// Default NO Mod
// #define USE_DEFAULT
 
// Zombie Plague 4.3 and 5.0
#define USE_ZPMOD
 
// Biohazard [ALL Version]
// #define USE_BIOMOD                         

- Sau il puteti lasa asa si au acces la comanda si oamenii si zombii doar mariti timpul de utilizare a functiei prin cvarul amx_autounstuckwait
--------------------------
Q: Vreau versiunea automata [atentie face flood prin set_task si nu functioneaza bine cu semiclip si nu este updatata]
A: https://forums.alliedmods.net/showthrea ... 6?p=441576

--------------------------
Q: De ce te-ai trecut autor la un plugin editat?
A: Nu m-am trecut autor nicaieri doar la mentiuni
Dovada:
Code:
register_plugin ( "Unstuck", "1.7.2", "AMXX Dev Builder" );

--------------------------
Q: Tu de ce nu iti postezi pluginurile pe Allied Modders ?
A: Nu imi place de profesionistii de acolo, vor prea multe ei cred ca toti sunt experti si stau 24 din 24 sa updateze pluginurile cum isi doresc ei, Eu mai am si o viata personala.
-------------------------
Q: Ce cauta pluginul la Pluginuri eXtream?
A: Pluginul este refacut , updatat de catre mine, deoarece sunt un utilizator cu rang al acestui forum imi permit sa am grija de el la aceasta sectiune.
------------------------
Q: Ai uitat Cry sa mentionezi ceva
A: Anume ce ? Astept un PM! :P
---------------------------------------------
Q: Vreau sa te ajut la dezvoltarea lui cu idei dar si teste pot?
A: Da este simplu adauga in plugins.ini dupa numele pluginului debug in caz de probleme si postezi aici orice modificare / problema apare.
-----------------------------------------------
Q: Cum modific timpul cat sa tina mesajele Hud pe ecran? v1.5.3 only
A: In sursa pluginului adica manual_unstuck.sma la linia 76 avem defineul
Code:
#define HOLD_TIME       15.0            // Time to hold the hud message on screen

Modificam in secunde urmat de .0 cate secunde dorim sa tina mesajul
---------------------------------------------
Q: Cum fac sa dispara din chat comenzile stuck, unstuck cand le scriu in chat?
A: In sursa .SMA a pluginului la linia 205 modificati
Code:
return 0;

cu
Code:
return 1;

Si recompilati / readaugati pluginul pe Server

Pluginul este sub licenta GNU / GPL si am dreptul sa editez cum il doresc atat timp cat autorul oficial ramane intact!
VOI MAI ADAUGA IN CURAND DACA LIPSESTE CEVA, VA ROG SA IMI DATI PM

Bafta, daca aveti neplaceri sau comentarii a'prost va rog sa va abtineti pentru ca am facut [FAQ] pentru a va explica totul de ce si cum.

_________________
De vanzare Zombie Sparkle++- O imbunatatita versiunde de ZP de la 0 de catre mine.
MetaMod Enhanced v1.0.0 - O versiune de metamod fara meta list si Updatata in ultimul SDK
Vrei un CS fara binduri, slowhack, si curat din SteamPipe? Counter-Strike UPDATE 9.March.2017
Info: NU IMI DATI PM PENTRU CERERI AJUTOR ETC (NU RASPUND) FOLOSITI FORUMUL.
Image
Image
Image
Image


Last edited by CryWolf on 14 Oct 2014 11:37, edited 10 times in total.

UPDATED 1.7.3



11 Oct 2014 15:55
Profile multumesc YIM WWW
Scripter eXtreamCS
Scripter eXtreamCS
User avatar

Joined: 21 Sep 2013 15:05
Posts: 869
Detinator Steam: Da
CS Status: Inactiv cateva zile.
SteamID: privat
Reputatie: Scripter eXtreamCS.com
Moderator ajutator
Fond eXtream: 0
Chestia cu originile predefinite nu imi place, il poti face fara asa ceva.

1 | Afiseaza codul
if ( ! is_user_alive ( id ) ) {

client_print ( id , print_chat, "[ %s ] You are not allowed to use this command when you are dead" );
return 1;

}
static Float: fPlayerStartOrigins [ 3 ]; /*player origins before unstuck will move him */
static Float: fPlayerEndOrigins [ 3 ]; /* origins found by this code */

pev ( id, pev_origin, fPlayerStartOrigins ); /* get current origin */

/*Check for setup error */
if ( ! g_iSearchDistance || ! g_iMaxSearches ) {

log_amx ( "No search distance or no search ammount, check your configuration file" );
client_print ( id , print_chat , "[ %s ] Due to a setup problem, this command is not working.", TAG );
return 1;

}

else if ( g_iSearchDistance >= 800 || g_iMaxSearches >= 40 ) {

log_amx ( " Search distance or search ammount is too big, check your configuration file" );
client_print ( id , print_chat , "[ %s ] Due to a setup problem, this command is not working.", TAG );
return 1;

}

/*Send a trace to see if he is stuck */
engfunc ( EngFunc_TraceHull, fPlayerStartOrigins, fPlayerStartOrigins, pev ( id , pev_flags ) & FL_DUCKING ? HULL_HEAD : HULL_HUMAN , id, 0 );

if ( get_tr2 ( 0, TR_InOpen ) && ! ( get_tr2 ( 0, TR_AllSolid ) && get_tr2 ( 0, TR_StartSolid ) ) ) {

client_print ( id , print_chat , "[ %s ] You are not stuck. Please don't use this command with no reason" , TAG );
return 1; /* he is not stuck,stop the function */

}

new i [ 2 ]; /*just to make it easy to change, idk why */
i [ 0 ] = g_iSearchDistance;
i [ 1 ] = g_iMaxSearches;

while ( i [ 0 ] < 800 ) { /* while our distance for searching is not bigger than 800 */

while ( i [ 1 ] > 0 ) { /* while he should search */

for ( new k = 0 ; k < 3 ; k ++ ) /*I don't exactly remember, but this way of getting random origins is not mine, I just saw it some time ago and I "learned" it*/
fPlayerEndOrigins [ k ] = random_float ( fPlayerStartOrigins [ k ] - i [ 0 ] , fPlayerStartOrigins [ k ] + i [ 0 ] ); /* I'm speacking about this line.... */

/*Send a trace at the new origin to check if it's available */
engfunc ( EngFunc_TraceHull, fPlayerEndOrigins, fPlayerEndOrigins, IGNORE_MONSTERS, pev ( id , pev_flags ) & FL_DUCKING ? HULL_HEAD : HULL_HUMAN , id, 0 );

if ( get_tr2 ( 0, TR_InOpen ) && !get_tr2 ( 0, TR_AllSolid ) && !get_tr2 ( 0, TR_StartSolid ) ) {

set_pev ( id , pev_origin , fPlayerEndOrigins ); /*set new origins */
break
}
}

i [ 0 ] = i [ 0 ] * 2;
i [ 1 ] --;
}

return 0;


Dintr-un mod de furien la care am lucrat odata( credite Arkshine ).

_________________
Daca vreti ajutorul meu, nu dati bump la topic, fara intrebari de genu "cat mai dureaza/mai astept mult?".


11 Oct 2014 16:28
Profile multumesc
Fost administrator
Fost administrator
User avatar

Joined: 07 Aug 2008 16:33
Posts: 9316
Location: Darabani
Detinator Steam: Da
Detinator server CS: CS.eXtream.Ro
Reputatie: Fost administrator
Fost Scripter
Detinator ZM.eXtream.Ro
Fost manager CS.eXtream.Ro
Fost manager CSGO.eXtream.Ro
Fost manager global
Fond eXtream: 0
HamletEagle wrote:
Chestia cu originile predefinite nu imi place, il poti face fara asa ceva.

1 | Afiseaza codul
if ( ! is_user_alive ( id ) ) {

client_print ( id , print_chat, "[ %s ] You are not allowed to use this command when you are dead" );
return 1;

}
static Float: fPlayerStartOrigins [ 3 ]; /*player origins before unstuck will move him */
static Float: fPlayerEndOrigins [ 3 ]; /* origins found by this code */

pev ( id, pev_origin, fPlayerStartOrigins ); /* get current origin */

/*Check for setup error */
if ( ! g_iSearchDistance || ! g_iMaxSearches ) {

log_amx ( "No search distance or no search ammount, check your configuration file" );
client_print ( id , print_chat , "[ %s ] Due to a setup problem, this command is not working.", TAG );
return 1;

}

else if ( g_iSearchDistance >= 800 || g_iMaxSearches >= 40 ) {

log_amx ( " Search distance or search ammount is too big, check your configuration file" );
client_print ( id , print_chat , "[ %s ] Due to a setup problem, this command is not working.", TAG );
return 1;

}

/*Send a trace to see if he is stuck */
engfunc ( EngFunc_TraceHull, fPlayerStartOrigins, fPlayerStartOrigins, pev ( id , pev_flags ) & FL_DUCKING ? HULL_HEAD : HULL_HUMAN , id, 0 );

if ( get_tr2 ( 0, TR_InOpen ) && ! ( get_tr2 ( 0, TR_AllSolid ) && get_tr2 ( 0, TR_StartSolid ) ) ) {

client_print ( id , print_chat , "[ %s ] You are not stuck. Please don't use this command with no reason" , TAG );
return 1; /* he is not stuck,stop the function */

}

new i [ 2 ]; /*just to make it easy to change, idk why */
i [ 0 ] = g_iSearchDistance;
i [ 1 ] = g_iMaxSearches;

while ( i [ 0 ] < 800 ) { /* while our distance for searching is not bigger than 800 */

while ( i [ 1 ] > 0 ) { /* while he should search */

for ( new k = 0 ; k < 3 ; k ++ ) /*I don't exactly remember, but this way of getting random origins is not mine, I just saw it some time ago and I "learned" it*/
fPlayerEndOrigins [ k ] = random_float ( fPlayerStartOrigins [ k ] - i [ 0 ] , fPlayerStartOrigins [ k ] + i [ 0 ] ); /* I'm speacking about this line.... */

/*Send a trace at the new origin to check if it's available */
engfunc ( EngFunc_TraceHull, fPlayerEndOrigins, fPlayerEndOrigins, IGNORE_MONSTERS, pev ( id , pev_flags ) & FL_DUCKING ? HULL_HEAD : HULL_HUMAN , id, 0 );

if ( get_tr2 ( 0, TR_InOpen ) && !get_tr2 ( 0, TR_AllSolid ) && !get_tr2 ( 0, TR_StartSolid ) ) {

set_pev ( id , pev_origin , fPlayerEndOrigins ); /*set new origins */
break
}
}

i [ 0 ] = i [ 0 ] * 2;
i [ 1 ] --;
}

return 0;


Dintr-un mod de furien la care am lucrat odata( credite Arkshine ).

Thanks:
v1.7.2
Code:
*   v1.7.2
*   - Completly rewritten using Arkshine / Hamlet way
*   - Removed fun not needed
*   - Updated set_hudmessage func
*   - Added two new pCvars
*   - Updated list of comands and removed (say_team)
*   - commands used as statics
*   - Code improved
*   - Removed case 0 from switch function added default
*   - Removed unnecesary codes


Am adaugat si 2 noua cvaruri ele sunt
  • amx_ann_hold - Cat timp sa tina mesajul HUD
  • amx_ann_effects = efectele mesajului HUD [0: Fara efecte, 1: Sclipire, 2: Scris de mana]
Sursa: http://pastebin.com/5qxnitct

_________________
De vanzare Zombie Sparkle++- O imbunatatita versiunde de ZP de la 0 de catre mine.
MetaMod Enhanced v1.0.0 - O versiune de metamod fara meta list si Updatata in ultimul SDK
Vrei un CS fara binduri, slowhack, si curat din SteamPipe? Counter-Strike UPDATE 9.March.2017
Info: NU IMI DATI PM PENTRU CERERI AJUTOR ETC (NU RASPUND) FOLOSITI FORUMUL.
Image
Image
Image
Image


11 Oct 2014 18:44
Profile multumesc YIM WWW
Scripter eXtreamCS
Scripter eXtreamCS
User avatar

Joined: 25 Jul 2010 17:29
Posts: 2263
Location: Braila, Romania.
Detinator Steam: Da
CS Status: A mai trecut o zi asteptand una mai buna
Detinator server CS: Fully retired = NO!
SteamID: STEAM_0:1:318247XX
Reputatie: Scripter eXtreamCS
Nick anterior: sPuf ?, a^ml), Loca Tapioca, Askhanar
Fost Moderator ajutator
Fond eXtream: 0
incearca privatepaste.com nu umbla la indent.
p mine ma 'enerveaza' pluginurile astea cu origini si chestii ca ma doare capu' d la ele

am inteles cam 77% din el.. :))
GJ.

_________________
"You're wasting your time thinking about a person which you are nothing in her eyes."


11 Oct 2014 20:17
Profile multumesc YIM
Fost administrator
Fost administrator
User avatar

Joined: 07 Aug 2008 16:33
Posts: 9316
Location: Darabani
Detinator Steam: Da
Detinator server CS: CS.eXtream.Ro
Reputatie: Fost administrator
Fost Scripter
Detinator ZM.eXtream.Ro
Fost manager CS.eXtream.Ro
Fost manager CSGO.eXtream.Ro
Fost manager global
Fond eXtream: 0
L-a testat cineva poate confirma ca functioneaza , pentru ca am auzit reprosuri :-?

Stie cineva cum sa ma blochez singur ca il testez eu :)

UPDATE 1.7.3 cititi changelogul din primul post!

_________________
De vanzare Zombie Sparkle++- O imbunatatita versiunde de ZP de la 0 de catre mine.
MetaMod Enhanced v1.0.0 - O versiune de metamod fara meta list si Updatata in ultimul SDK
Vrei un CS fara binduri, slowhack, si curat din SteamPipe? Counter-Strike UPDATE 9.March.2017
Info: NU IMI DATI PM PENTRU CERERI AJUTOR ETC (NU RASPUND) FOLOSITI FORUMUL.
Image
Image
Image
Image


14 Oct 2014 10:31
Profile multumesc YIM WWW
Scripter eXtreamCS
Scripter eXtreamCS
User avatar

Joined: 21 Sep 2013 15:05
Posts: 869
Detinator Steam: Da
CS Status: Inactiv cateva zile.
SteamID: privat
Reputatie: Scripter eXtreamCS.com
Moderator ajutator
Fond eXtream: 0
Fa o comanda, ia originea playerului, scade 15 unitati din axa y si seteaza noua origine. Mai mult ca sigur te va bloca.

_________________
Daca vreti ajutorul meu, nu dati bump la topic, fara intrebari de genu "cat mai dureaza/mai astept mult?".


14 Oct 2014 16:25
Profile multumesc
Membru eXtream
Membru eXtream
User avatar

Joined: 11 Jul 2012 18:45
Posts: 3463
Detinator Steam: Da
CS Status: [əˈnɒn.ɪ.məs]
Reputatie: Fost scripter eXtreamCS
Fost eXtream Mod
Fond eXtream: 0
Incearca noclip

_________________
Cand nu merge acest forum sunt online aici:
    * Skype: nubo_cs
    * Y!M ID: nubo_cs



14 Oct 2014 17:56
Profile multumesc YIM
Fost administrator
Fost administrator
User avatar

Joined: 07 Aug 2008 16:33
Posts: 9316
Location: Darabani
Detinator Steam: Da
Detinator server CS: CS.eXtream.Ro
Reputatie: Fost administrator
Fost Scripter
Detinator ZM.eXtream.Ro
Fost manager CS.eXtream.Ro
Fost manager CSGO.eXtream.Ro
Fost manager global
Fond eXtream: 0
Am uitat sa mentionez ca am rezolvat deja. o data ce am trecut ca TESTAT.

_________________
De vanzare Zombie Sparkle++- O imbunatatita versiunde de ZP de la 0 de catre mine.
MetaMod Enhanced v1.0.0 - O versiune de metamod fara meta list si Updatata in ultimul SDK
Vrei un CS fara binduri, slowhack, si curat din SteamPipe? Counter-Strike UPDATE 9.March.2017
Info: NU IMI DATI PM PENTRU CERERI AJUTOR ETC (NU RASPUND) FOLOSITI FORUMUL.
Image
Image
Image
Image


14 Oct 2014 18:08
Profile multumesc YIM WWW
Membru, skill 0
Membru, skill 0

Joined: 19 Sep 2016 14:47
Posts: 24
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Ar fi si mai bun ca sa detecteze cand esti blocat si numai atunci sa mearga comanda /stuck, astfel pe un server de zombie cu lasere multi profita de teleport sa evite laserul.


20 Sep 2016 10:18
Profile multumesc WWW
Membru eXtream
Membru eXtream
User avatar

Joined: 07 Jul 2014 18:30
Posts: 4072
Detinator Steam: Da
CS Status: _|_
Fond eXtream: 0
rzvbv wrote:
Ar fi si mai bun ca sa detecteze cand esti blocat si numai atunci sa mearga comanda /stuck, astfel pe un server de zombie cu lasere multi profita de teleport sa evite laserul.

M4? apeasa-l
Sunt sigur ca o sa mearga


20 Sep 2016 15:32
Profile multumesc YIM WWW
Utilizator neserios (tepar)
Utilizator neserios (tepar)

Joined: 22 Jan 2017 11:45
Posts: 172
Detinator Steam: Nu
Reputatie: Utilizator neserios (tepar)
Fond eXtream: 0
Mie nu îmi merge.. Cred ca am greșit undeva


22 Jan 2017 17:38
Profile multumesc WWW
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ] 

Who is online

Users browsing this forum: No registered users and 31 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  

În cazul în care aveți probleme cu contul trimiteți un email sau mesaj la servicii_extream[arond]yahoo[punct]com

Powered by phpBB® Forum Software © phpBB Group