Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: SHARE SOURCE MU SS6 CUSTOM  (Visto 8327 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline vnshell #20 Posteado: August 15, 2024, 12:24:19 PM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 140
  • Gracias recibida: 50
  • kh
Config mấy dòng ẩn+15 kích hoạt chỗ mục custom trong data rồi ở đâu nữa vậy bạn. Trong SV data custom chỉ thấy config op, còn hiển thị ở đâu ta, client ấy, tooltip với tooltiptextt ko thấy nhỉ

tìm dc cách chưa bro ơi :D

Được rồi nhé hihi đơn giản

hướng dẫn làm với bro ơi :D


Offline candyvl #21 Posteado: August 17, 2024, 04:53:32 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 5
  • Gracias recibida: 0
  • vn
 please sao mình chạy cái game.exe 1 chút là nó dis nhỉ, chưa tới chỗ chọn nv luôn. đã mở DEF rồi. config ở sv đầy đủ cả rồi.


Offline candyvl #22 Posteado: August 17, 2024, 05:12:21 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 5
  • Gracias recibida: 0
  • vn
src main chạy bằng visual studio 2010 hay bản nào nhỉ


Offline Bladimir1 #23 Posteado: August 17, 2024, 08:28:49 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 70
  • Gracias recibida: 47
  • au
fix CustomNpcQuest

go to in gameserver source

void DataServerProtocolCore(BYTE head,BYTE* lpMsg,int size)

enable it in case 0xF7:

gCustomNpcQuest.DGCustomNpcQuestRecv((SDHP_CUSTOMNPCQUEST_RECV*)lpMsg);


now go to  GameServerInfo - Custom.ini

and push 1//on

;==================================================
; Bật/Tắt NPC đổi ngọc ra Wcoin (CustomNpcQuest.txt)
;==================================================
CustomNpcQuestSwitch = 1




Gracias:


Offline Bladimir1 #24 Posteado: August 22, 2024, 12:52:23 AM | Modificado: August 22, 2024, 12:54:57 AM by Bladimir1

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 70
  • Gracias recibida: 47
  • au
for add manually socket set, sword, spear, maces, shield from main source add this code.

BOOL  __stdcall ItemSocket(int Itemtype)
{
   if (Itemtype > 3092)
   {
      if (Itemtype > 4661)
      {
         if (Itemtype > 5685 || Itemtype < 5676 && (Itemtype < 5164 || Itemtype > 5173))
            return 0;
      }
      else if (Itemtype < 4652 && (Itemtype > 4149 || Itemtype < 4140 && (Itemtype < 3628 || Itemtype > 3637)))
      {
         return 0;
      }
      else if (Itemtype == 3613 || Itemtype == 4125 || Itemtype == 4637 || Itemtype == 5149 || Itemtype == 5661)
      {
         return 0;
      }
      else if (Itemtype == 3592 || Itemtype == 4104 || Itemtype == 4616 || Itemtype == 5128 || Itemtype == 5640 )//BRASS SET + SOCKET
      {
         return 0;
      }
      //IF YOU WHIS CONTINUED ADD ITEMS NORMAL OR CUSTOMITEM.. COPY AND PASTE ELSE IF OF NEXT FORM.. FOR CALCULATE ITEMS 512xITEM SECCION+INDEX..  512X7+8 = 3592 BRASS HELM
      //else if (Itemtype == 3592 || Itemtype == 4104 || Itemtype == 4616 || Itemtype == 5128 || Itemtype == 5640)/
      //{
         //return 0;
      //}

      return 1;
   }
   if (Itemtype >= 3089)
      return 1;
   if (Itemtype > 2071)
      return Itemtype == 2580 || Itemtype > 2589 && Itemtype <= 2592;
   return Itemtype == 2071 || Itemtype <= 1041 && (Itemtype >= 1040 || Itemtype >= 26 && Itemtype <= 28);
}


SetCompleteHook(0xE9, 0x00968180, &ItemSocket);


https://imgur.com/a/nvYRY6t


Offline Bladimir1 #25 Posteado: August 24, 2024, 03:56:14 PM | Modificado: August 24, 2024, 03:57:45 PM by Bladimir1

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 70
  • Gracias recibida: 47
  • au
Hi i create this simple code for fun, only test in this game
whit this code you cant change swords for chaos castle event :D

https://imgur.com/a/2Fcj8AC

Naked(CCDK) {
   static ObjectPreview* gPreview;
   //----
   _asm {
      MOV ECX, DWORD PTR SS : [EBP + 0x08]
      MOV gPreview, ECX
   }
   gPreview->WeaponFirstSlot = ITEM2(0, 22);
   gPreview->WeaponSecondSlot = ITEM2(0, 22);

   // ----
   gPreview->HelmLevel = 15;
   gPreview->ArmorLevel = 15;
   gPreview->PantsLevel = 15;
   gPreview->GlovesLevel = 15;
   gPreview->BootsLevel = 15;
   gPreview->WeaponFirstLevel = 15;
   gPreview->WeaponSecondLevel = 15;
   // ----
   gPreview->HelmExcellent = 1;
   gPreview->ArmorExcellent = 1;
   gPreview->PantsExcellent = 1;
   gPreview->GlovesExcellent = 1;
   gPreview->BootsExcellent = 1;
   gPreview->WeaponFirstExcellent = 1;
   gPreview->WeaponSecondExcellent = 1;
// ----
   _asm {
      MOV ECX, 0x004E675B
      JMP ECX
   }
}

SetRange((LPVOID)0x004E6730, 5, ASM::NOP);
SetOp((LPVOID)0x004E6730, (LPVOID)CCDK, ASM::JMP);

you cant include this code in CustomNPC. main souce.

Gracias:


Offline CezarMaster #26 Posteado: September 02, 2024, 02:33:09 PM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 202
  • Gracias recibida: 2312
  • pe
alguien tendra los files y cliente en ingles o español porfa ?


Offline Bladimir1 #27 Posteado: September 19, 2024, 01:15:33 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 70
  • Gracias recibida: 47
  • au
i my friends i recreate this code for fun only test in this sources.

whit this code you can add more shine for items drops (effect star in items drop).. and add other effect, etc use you imagination :D

#include "NewStructs.h"

#define CreateParticle         ((int(__cdecl*)(int Type,vec3_t Position,vec3_t Angle,vec3_t Light,int SubType,float Scale,zObjectModel *Owner)) 0x0074CD30)//sub_6DA9C1 1.04j

void CreateShiny(zObjectModel* o)
{
   vec3_t p, Position;
   if (o->SubType++ % 48 == 0)
   {
      float Matrix[3][4];
      AngleMatrix(o->Angle, Matrix);
      Vector((float)(rand() % 32 + 16), 0.f, (float)(rand() % 32 + 16), p);
      VectorRotate(p, Matrix, Position);
      VectorAdd(o->Position, Position, Position);
      vec3_t Light;
      Vector(1.5f, 1.5f, 1.5f, Light);

      CreateParticle(32113, Position, o->Angle, Light, 0, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 1, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 2, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 3, 1.0, 0);
   }
}

SetCompleteHook(0xE9, 0x005F8260, &CreateShiny);

Gracias:


Offline vaneavanea31 #28 Posteado: September 19, 2024, 02:12:39 PM

  • 0 puntos por ventas
  • *
  • Rank: Heroe
  • Posts: 172
  • Gracias recibida: 33
  • md
Somebode have English language for This Server ?


Offline Juninsj22 #29 Posteado: September 19, 2024, 04:22:13 PM

  • 0 puntos por ventas
  • *
  • Rank: Experto
  • Posts: 169
  • Gracias recibida: 983
  • br
::[DEV-TEAM]::
::[Emulador]::

Gracias:


Offline samsunggon #30 Posteado: September 24, 2024, 07:14:59 AM

  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 451
  • Gracias recibida: 1459
  • ph
share antihack source :D

thanks


DISCORD: valentino1515


Offline vnshell #31 Posteado: September 27, 2024, 10:56:32 AM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 140
  • Gracias recibida: 50
  • kh
Config mấy dòng ẩn+15 kích hoạt chỗ mục custom trong data rồi ở đâu nữa vậy bạn. Trong SV data custom chỉ thấy config op, còn hiển thị ở đâu ta, client ấy, tooltip với tooltiptextt ko thấy nhỉ

tìm dc cách chưa bro ơi :D

Được rồi nhé hihi đơn giản

chỉ với b ơi


Offline bigrealtk92 #32 Posteado: September 27, 2024, 11:58:59 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 26
  • Gracias recibida: 7
  • vn
Hi you, in challenge mode (Duel mode) it only lasts 1 minute, can you fix it?? tks


Offline bigrealtk92 #33 Posteado: September 29, 2024, 03:56:07 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 26
  • Gracias recibida: 7
  • vn
i my friends i recreate this code for fun only test in this sources.

whit this code you can add more shine for items drops (effect star in items drop).. and add other effect, etc use you imagination :D

#include "NewStructs.h"

#define CreateParticle         ((int(__cdecl*)(int Type,vec3_t Position,vec3_t Angle,vec3_t Light,int SubType,float Scale,zObjectModel *Owner)) 0x0074CD30)//sub_6DA9C1 1.04j

void CreateShiny(zObjectModel* o)
{
   vec3_t p, Position;
   if (o->SubType++ % 48 == 0)
   {
      float Matrix[3][4];
      AngleMatrix(o->Angle, Matrix);
      Vector((float)(rand() % 32 + 16), 0.f, (float)(rand() % 32 + 16), p);
      VectorRotate(p, Matrix, Position);
      VectorAdd(o->Position, Position, Position);
      vec3_t Light;
      Vector(1.5f, 1.5f, 1.5f, Light);

      CreateParticle(32113, Position, o->Angle, Light, 0, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 1, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 2, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 3, 1.0, 0);
   }
}

SetCompleteHook(0xE9, 0x005F8260, &CreateShiny);
Hi you, in challenge mode (Duel mode) it only lasts 1 minute, can you fix it?? tks

Gracias:


Offline Bladimir1 #34 Posteado: September 29, 2024, 08:12:58 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 70
  • Gracias recibida: 47
  • au
i my friends i recreate this code for fun only test in this sources.

whit this code you can add more shine for items drops (effect star in items drop).. and add other effect, etc use you imagination :D

#include "NewStructs.h"

#define CreateParticle         ((int(__cdecl*)(int Type,vec3_t Position,vec3_t Angle,vec3_t Light,int SubType,float Scale,zObjectModel *Owner)) 0x0074CD30)//sub_6DA9C1 1.04j

void CreateShiny(zObjectModel* o)
{
   vec3_t p, Position;
   if (o->SubType++ % 48 == 0)
   {
      float Matrix[3][4];
      AngleMatrix(o->Angle, Matrix);
      Vector((float)(rand() % 32 + 16), 0.f, (float)(rand() % 32 + 16), p);
      VectorRotate(p, Matrix, Position);
      VectorAdd(o->Position, Position, Position);
      vec3_t Light;
      Vector(1.5f, 1.5f, 1.5f, Light);

      CreateParticle(32113, Position, o->Angle, Light, 0, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 1, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 2, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 3, 1.0, 0);
   }
}

SetCompleteHook(0xE9, 0x005F8260, &CreateShiny);
Hi you, in challenge mode (Duel mode) it only lasts 1 minute, can you fix it?? tks

yes my friend for fix it you need

in stdafx.h
#define Delay_Skill_Custom               1

in duel.ccp

void CDuel::SetState_START(DUEL_ARENA_INFO* lpInfo) // OK

remplace

lpInfo->RemainTime = 1200;

for

lpInfo->RemainTime = 1200 * 60;

for last in

in attack.ccp

bool CAttack::CheckPlayerTarget(LPOBJ lpObj, LPOBJ lpTarget)

delete duel in this line or copy and paste it...

      if (lpObj->Guild->Number == lpTarget->Guild->Number && gServerInfo.m_GuildPK != 0 // Pk Cung Lien Minh



Offline vnshell #35 Posteado: September 29, 2024, 09:08:15 PM

  • 0 puntos por ventas
  • *
  • Rank: Avanzado
  • Posts: 140
  • Gracias recibida: 50
  • kh
any big big update for this source?


Offline bigrealtk92 #36 Posteado: September 29, 2024, 11:52:06 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 26
  • Gracias recibida: 7
  • vn
i my friends i recreate this code for fun only test in this sources.

whit this code you can add more shine for items drops (effect star in items drop).. and add other effect, etc use you imagination :D

#include "NewStructs.h"

#define CreateParticle         ((int(__cdecl*)(int Type,vec3_t Position,vec3_t Angle,vec3_t Light,int SubType,float Scale,zObjectModel *Owner)) 0x0074CD30)//sub_6DA9C1 1.04j

void CreateShiny(zObjectModel* o)
{
   vec3_t p, Position;
   if (o->SubType++ % 48 == 0)
   {
      float Matrix[3][4];
      AngleMatrix(o->Angle, Matrix);
      Vector((float)(rand() % 32 + 16), 0.f, (float)(rand() % 32 + 16), p);
      VectorRotate(p, Matrix, Position);
      VectorAdd(o->Position, Position, Position);
      vec3_t Light;
      Vector(1.5f, 1.5f, 1.5f, Light);

      CreateParticle(32113, Position, o->Angle, Light, 0, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 1, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 2, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 3, 1.0, 0);
   }
}

SetCompleteHook(0xE9, 0x005F8260, &CreateShiny);
Hi you, in challenge mode (Duel mode) it only lasts 1 minute, can you fix it?? tks

yes my friend for fix it you need

in stdafx.h
#define Delay_Skill_Custom               1

in duel.ccp

void CDuel::SetState_START(DUEL_ARENA_INFO* lpInfo) // OK

remplace

lpInfo->RemainTime = 1200;

for

lpInfo->RemainTime = 1200 * 60;

for last in

in attack.ccp

bool CAttack::CheckPlayerTarget(LPOBJ lpObj, LPOBJ lpTarget)

delete duel in this line or copy and paste it...

      if (lpObj->Guild->Number == lpTarget->Guild->Number && gServerInfo.m_GuildPK != 0 // Pk Cung Lien Minh
Thank you very much my friend! Love you!


Offline bigrealtk92 #37 Posteado: September 30, 2024, 10:11:48 PM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 26
  • Gracias recibida: 7
  • vn
i my friends i recreate this code for fun only test in this sources.

whit this code you can add more shine for items drops (effect star in items drop).. and add other effect, etc use you imagination :D

#include "NewStructs.h"

#define CreateParticle         ((int(__cdecl*)(int Type,vec3_t Position,vec3_t Angle,vec3_t Light,int SubType,float Scale,zObjectModel *Owner)) 0x0074CD30)//sub_6DA9C1 1.04j

void CreateShiny(zObjectModel* o)
{
   vec3_t p, Position;
   if (o->SubType++ % 48 == 0)
   {
      float Matrix[3][4];
      AngleMatrix(o->Angle, Matrix);
      Vector((float)(rand() % 32 + 16), 0.f, (float)(rand() % 32 + 16), p);
      VectorRotate(p, Matrix, Position);
      VectorAdd(o->Position, Position, Position);
      vec3_t Light;
      Vector(1.5f, 1.5f, 1.5f, Light);

      CreateParticle(32113, Position, o->Angle, Light, 0, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 1, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 2, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 3, 1.0, 0);
   }
}

SetCompleteHook(0xE9, 0x005F8260, &CreateShiny);
Do you know how to fix the feature that when opening an offline store, you cannot trade with all NPCs and players? Because when opening an offline store and trading, you can duplicate items. Help me pls my friend. In this source


Offline Bladimir1 #38 Posteado: September 30, 2024, 11:17:03 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 70
  • Gracias recibida: 47
  • au
i my friends i recreate this code for fun only test in this sources.

whit this code you can add more shine for items drops (effect star in items drop).. and add other effect, etc use you imagination :D

#include "NewStructs.h"

#define CreateParticle         ((int(__cdecl*)(int Type,vec3_t Position,vec3_t Angle,vec3_t Light,int SubType,float Scale,zObjectModel *Owner)) 0x0074CD30)//sub_6DA9C1 1.04j

void CreateShiny(zObjectModel* o)
{
   vec3_t p, Position;
   if (o->SubType++ % 48 == 0)
   {
      float Matrix[3][4];
      AngleMatrix(o->Angle, Matrix);
      Vector((float)(rand() % 32 + 16), 0.f, (float)(rand() % 32 + 16), p);
      VectorRotate(p, Matrix, Position);
      VectorAdd(o->Position, Position, Position);
      vec3_t Light;
      Vector(1.5f, 1.5f, 1.5f, Light);

      CreateParticle(32113, Position, o->Angle, Light, 0, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 1, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 2, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 3, 1.0, 0);
   }
}

SetCompleteHook(0xE9, 0x005F8260, &CreateShiny);
Do you know how to fix the feature that when opening an offline store, you cannot trade with all NPCs and players? Because when opening an offline store and trading, you can duplicate items. Help me pls my friend. In this source
make a video I don't understand you problem.


Offline bigrealtk92 #39 Posteado: October 01, 2024, 12:10:18 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 26
  • Gracias recibida: 7
  • vn
i my friends i recreate this code for fun only test in this sources.

whit this code you can add more shine for items drops (effect star in items drop).. and add other effect, etc use you imagination :D

#include "NewStructs.h"

#define CreateParticle         ((int(__cdecl*)(int Type,vec3_t Position,vec3_t Angle,vec3_t Light,int SubType,float Scale,zObjectModel *Owner)) 0x0074CD30)//sub_6DA9C1 1.04j

void CreateShiny(zObjectModel* o)
{
   vec3_t p, Position;
   if (o->SubType++ % 48 == 0)
   {
      float Matrix[3][4];
      AngleMatrix(o->Angle, Matrix);
      Vector((float)(rand() % 32 + 16), 0.f, (float)(rand() % 32 + 16), p);
      VectorRotate(p, Matrix, Position);
      VectorAdd(o->Position, Position, Position);
      vec3_t Light;
      Vector(1.5f, 1.5f, 1.5f, Light);

      CreateParticle(32113, Position, o->Angle, Light, 0, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 1, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 2, 1.0, 0);
      CreateParticle(32113, Position, o->Angle, Light, 3, 1.0, 0);
   }
}

SetCompleteHook(0xE9, 0x005F8260, &CreateShiny);
Do you know how to fix the feature that when opening an offline store, you cannot trade with all NPCs and players? Because when opening an offline store and trading, you can duplicate items. Help me pls my friend. In this source
make a video I don't understand you problem.
https://files.fm/u/9wh4ybcav5

Gracias:


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
12 Replies
6309 Views
Last post March 02, 2022, 02:49:27 AM
by lawn123
30 Replies
10333 Views
Last post September 05, 2020, 01:28:09 AM
by s2sinh94
9 Replies
6903 Views
Last post February 14, 2020, 08:37:40 AM
by Sub1991
6 Replies
4528 Views
Last post February 20, 2021, 03:12:34 AM
by gacon201294
96 Replies
15950 Views
Last post November 14, 2022, 07:32:23 PM
by boybudz321