Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: Flying Dragon MuEmu  (Visto 2926 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline chuckhai on: November 14, 2019, 08:14:08 AM

« Ultima edicion: November 14, 2019, 01:41:19 PM by ZabiinoOo »

Gracias:

Tomsky75, LuisGamers, xeratul777, nonnan005, Higgs, kaisudo, namnam, azpirin4, Genilson23, henriquenogueira81, demmian2, Seya, max1musn1, luis, draco425, mrhung95, xxmenonxx, 423646802, leones55, vietanhlsl, GabrielDev, MiRoKu, jose1282, bruno68, dark32, neicer, seedmaker, AZURE, Almdar, ProNexT, reonu, boris160, pkdomal, Plate98, luis2564, pedrob, marvisur, nockasdd, zedia93, HaPKoTuK, beibei, aetgaming, SaintZeus, Van_Bom, Berlan Barbalho, universalmu4, 6atters, mario2015, vnshell, javierf2, BeckerIbero, diosjmk, gredy, Yasser, smiley, zxshadowxz, AleeDJ, luciferlg, dagang, smallz170, Vazq102011, Crowley, Cartman, Felipe0211, Denis Alves, tdthanh95, gega, samsunggon, agtanalata, becoloko, dark, juni0rr, andreyzz, matiudark, k12leito, Broda, abraao, traxxx, dlawls662, nandied, Ryuno, Overkomp, RafhaelSouza, baphomet, matheusgom, Santijjk009, Null, KhongGianOL, favgames, xtestx, z3r0x, gacon201294@gmail.com, 1732313, iramondias, qwer123, MaxVoll, Pyke, str1ker, jhonhy, sigrev, brandonmu, Luid21, locodka, dardevil, kayito, fbeltran2390, Dariox84, dizzys, dreamboy7, Euro, nano1993, trkgncmg, Hanx, MrRastaman, NasLy, tyseven, kamesenin, muzic25, Karuritoku, repiolaa, vnz55555, ZTMarkz, mckjohan2019, lucas, froid11, stark98, NHacker, shangxin, Jean LR, DIOSES, thangdtqn3, beecubin, dragsilver, Shaman, spartacus, Nexus, diegomakes, luisitoo, Azzlaer, SetecSoft, laulinh2, Gamers, quyanxu, Yalc, PachoRasta, dahouzi, axeman192, sagat202, fengyun52894, gauyeutho, hiep, LTP Team, louis, djagripnos, comelon666, melo920, knight.php, fer1992, Look, Lude, Peluuca, Nel, ZabiinoOo

Offline chuckhai #1 on: November 14, 2019, 08:15:26 AM

Gracias:


Offline axeman192 #2 on: November 14, 2019, 08:27:18 AM


Online kind #3 on: November 14, 2019, 09:38:04 AM

  • C++ Coder
  • 0 puntos por ventas
  • *
  • Rank: Experto
  • Posts: 157
  • Gracias recibida: 946
  • ar
The problem isn't adding that function, the problem is to add compatibility with InvasionManager, and send the right effect to the map where the red dragons or golden dragons are invading.

Offline chuckhai #4 on: November 14, 2019, 04:26:03 PM

The problem isn't adding that function, the problem is to add compatibility with InvasionManager, and send the right effect to the map where the red dragons or golden dragons are invading.

I haven't done it yet, can you share it with everyone? tk

Offline louis #5 on: November 14, 2019, 05:01:56 PM

You have to make a complete function to start and stop the dragons when the invasion starts, end, move to the map, switch character and when the dragon is killed.

By the way:

GCEventStateSendToAll(m_MapNumber, 1, 1 ); //Red Dragon
GCEventStateSendToAll(m_MapNumber, 1, 3 ); //Golden Dragon

Gracias:


Offline chuckhai #6 on: November 14, 2019, 06:37:57 PM

You have to make a complete function to start and stop the dragons when the invasion starts, end, move to the map, switch character and when the dragon is killed.

By the way:

GCEventStateSendToAll(m_MapNumber, 1, 1 ); //Red Dragon
GCEventStateSendToAll(m_MapNumber, 1, 3 ); //Golden Dragon

Can you direct me and you guys a little bit not thank you
« Ultima edicion: November 14, 2019, 06:50:23 PM by chuckhai »

Offline Azzlaer #7 on: November 14, 2019, 08:29:35 PM

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 1.229
  • Gracias recibida: 13976
  • cl
en donde va este ??

Code: [Select]
void GCEventStateSendToAll(int map ,BYTE state,BYTE event) // OK fixxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
{
PMSG_EVENT_STATE_SEND pMsg;

pMsg.header.set(0x0B,sizeof(pMsg));///dung roi

pMsg.state = state;

pMsg.event = event;
//
for ( int n=0; n<MAX_OBJECT ; n++ )
{
if ( gObj[n].Connected == PLAYER_PLAYING && gObj[n].Type == OBJ_USER && map == gObj[n].Map )
{
DataSendAll((BYTE*)&pMsg,pMsg.header.size);
}
}

//DataSendAll((BYTE*)&pMsg,pMsg.header.size);
}

Offline thangdtqn3 #8 on: November 14, 2019, 09:45:45 PM

Đặt nó ở đâu trong source GS vậy bác?

Offline chuckhai #9 on: November 14, 2019, 10:28:48 PM

Đặt nó ở đâu trong source GS vậy bác?

sửa lại trong Protocol 

Gracias:


Offline vnz55555 #10 on: November 15, 2019, 02:26:50 AM

bác chuckhai share full đi mình chẳng biết ghép đoạn 2 ở đâu

Gracias:


Offline vnz55555 #11 on: November 15, 2019, 10:23:19 PM

//chuckhai tessconrong
   char map[3];
      
   BYTE m_MapNumber;   // C
   map[0]=MAP_LORENCIA;
   map[1]=MAP_DEVIAS;
   map[2]=MAP_NORIA;
   
   m_MapNumber  = map [ rand()%3 ];

   switch ( m_MapNumber  )
   {
      case MAP_LORENCIA:
         
         break;

      case MAP_DEVIAS:
         
         break;

      case MAP_NORIA:
         
         break;

   }
   GCEventStateSendToAll(m_MapNumber, 1, 1 );///con rong bay
   }
}


Where to put the code above? thanks

Offline chuckhai #12 on: November 16, 2019, 03:19:11 PM

//chuckhai tessconrong
   char map[3];
      
   BYTE m_MapNumber;   // C
   map[0]=MAP_LORENCIA;
   map[1]=MAP_DEVIAS;
   map[2]=MAP_NORIA;
   
   m_MapNumber  = map [ rand()%3 ];

   switch ( m_MapNumber  )
   {
      case MAP_LORENCIA:
         
         break;

      case MAP_DEVIAS:
         
         break;

      case MAP_NORIA:
         
         break;

   }
   GCEventStateSendToAll(m_MapNumber, 1, 1 );///con rong bay
   }
}


Where to put the code above? thanks
use

Offline Nexus #13 on: November 18, 2019, 02:22:28 AM

hermoso, pero igual se activa con cualquier evento, se desactiva y existe teleport, etc etc, falta adaptación, dejo los archivos del evento por si alguien los quiere adaptar !! pm si falta algo



no spam,

Offline froid11 #14 on: November 18, 2019, 01:13:30 PM

@chuckhai @thangdtqn3

WHERE LOCATE ON USER.CPP I PUT THE CODE ?

Where to put the code above ?
WHAT VOID ???

HERE ON ME CODE DON'T FOUND ---- > [ && map == ] , DON'T FOUND map.... help ...

if ( gObj[n].Connected == PLAYER_PLAYING && gObj[n].Type == OBJ_USER && map == gObj[n].Map )
« Ultima edicion: November 18, 2019, 01:41:08 PM by froid11 »

Online kayito #15 on: December 01, 2019, 05:44:02 PM

Bueno, para empezar aclaro que no soy coder y si alguien puede mejorar el código bienvenido sea. Simplemente intenté hacer algo en mi tiempo libre y bueno, salió esto. Espero les sirva y si lo pueden mejorar, mucho mejor. Saludos

ARCHIVOS Y CÓDIGO:

« Ultima edicion: December 20, 2019, 12:23:56 PM by kayito »

Offline favgames #16 on: December 01, 2019, 10:27:25 PM

nice kayito . GameServer Season 8 work fine

Source update 13 + marlon quest + effect + dragon invasion :
« Ultima edicion: December 01, 2019, 10:40:50 PM by ZabiinoOo »

Offline axeman192 #17 on: December 02, 2019, 06:22:46 AM

Muy agradable, buena contribución.

Offline favgames #18 on: December 02, 2019, 11:28:53 AM

need fix end invazion stop dragons flying!

Gracias:


Offline froid11 #19 on: December 11, 2019, 01:34:43 PM

need fix end invazion stop dragons flying!

descobriu como dar stop dragons flying?
poderia me ajudar se sim?!

Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

 

Related Topics

  Subject / Started by Replies Last post
Mob Dragon

Started by izzual Pets

1 Replies
1711 Views
Last post October 30, 2016, 01:03:15 PM
by ZabiinoOo
Set Dragon

Started by Santi Set

2 Replies
2208 Views
Last post January 07, 2018, 06:59:22 PM
by -Rastaa.TSM☢
1 Replies
338 Views
Last post May 26, 2019, 04:07:37 AM
by unnamedsk1
56 Replies
4496 Views
Last post July 06, 2020, 01:18:27 PM
by Jean LR
1 Replies
166 Views
Last post March 14, 2020, 04:32:37 PM
by javierf2