Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] Source S6 E3 SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, HPBar

Newbie Spellweaver
Joined
Oct 22, 2007
Messages
75
Reaction score
8
Re: [Source] Season 6 EP 3 # SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, H

How to integrate function like "Bonus Points for Online Hours"?

i have the script from another source :
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Oct 22, 2007
Messages
75
Reaction score
8
Re: [Source] Season 6 EP 3 # SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, H

I`m stuck. Somebody help me.

BonusOnline.cpp
#include "StdAfx.h"
#include "USER.h"
#include "bonusonline.h"




//==================================================================================================
// Points For Online
//==================================================================================================
void PointsForOnline(int aIndex)
{
int Enable = GetPrivateProfileInt("Common","Enable",1,"..\\EData\\PointsOnline.ini");
if(!Enable)
return;
if(OfflineShop[aIndex].IsOffTrade == 1)
return;


int TimeTick = GetPrivateProfileInt("Common","TimeTick",1,"..\\EData\\PointsOnline.ini");


ExUser[aIndex].ExTimeTick++;
if(ExUser[aIndex].ExTimeTick == TimeTick)
{
ExUser[aIndex].ExTimeTick = 0;
OBJECTSTRUCT *gObj = (OBJECTSTRUCT*)OBJECT_POINTER(aIndex);


int BonusGem = GetPrivateProfileInt("Common","BonusGem",1,"..\\EData\\PointsOnline.ini");


exQueryUpdate("UPDATE MEMB_INFO SET CashPoint = CashPoint + %d WHERE memb___id='%s'", BonusGem, gObj->AccountID);
MsgNormal(aIndex,"[Time] Bonus: %d Gem",BonusGem);
}

}

BonusOnline.h
void PointsForOnline(int aIndex)

OFFLINETRADE OfflineShop[OBJECT_MAX];


struct OFFLINETRADE{
int IsOffTrade;
}; extern OFFLINETRADE OfflineShop[OBJECT_MAX];


#define OBJECT_MAX 0x24B8


extern Ex_User ExUser[OBJECT_MAX];


struct Ex_User
{
//FreePoints
int Ex_FreePoints;
//Quest System
int ExQuest_num;
int ExQuest_kill;
int ExQuest_start;
//Time
int ExTimeTick;
//Reset
int Resets;
int GResets;
//Vip System
int VipStatus;
int VipTimeTick;
int VipTimeEnd;
int ClickNPC;
//*********
bool OffAfk;
};


#define OBJECT_POINTER(aIndex) ((aIndex * OBJECT_SIZE) + OBJECT_BASE)


//------------------------------------------------------------------------------
// Objects
//------------------------------------------------------------------------------
#define gObjViewportListProtocolCreate ((void(*)(OBJECTSTRUCT*)) 0x005D20F0)
#define gObj_X 0x108
#define gObj_Y 0x10A
#define gObj_MAP 0x10D
#define OBJECT_BASE 0x0B692D60
#define OBJECT_SIZE 0x19A0
#define OBJECT_MIN 0x20D0
#define OBJECT_MAX 0x24B8
#define OBJECT_POINTER(aIndex) ((aIndex * OBJECT_SIZE) + OBJECT_BASE)
#define OBJECT_TABINDEX(lpObj) ((lpObj - OBJECT_BASE) / OBJECT_SIZE)
#define GCStateInfoSend ((int(*) (int, int, int)) 0x00568490 )
#define j_gObjCalCharacter ((int(*) (int)) 0x0053B410 )
#define gObjCalCharacter_CALL 0x004033C3
#define gObj_INV 0xCAC


bool exQueryUpdate(LPCTSTR szQuery, ...);


void MsgNormal(int aIndex,char* szMsg,...);

1>------ Build started: Project: GameServer, Configuration: Release Win32 ------2>------ Skipped Build: Project: GameServerCS, Configuration: Release x64 ------
2>Project not selected to build for this solution configuration
1> bonusonline.cpp
1>c:\zmuserver\zsource\gameserver\source\bonusonline.h(3): error C3646: 'OFFLINETRADE' : unknown override specifier
1>c:\zmuserver\zsource\gameserver\source\bonusonline.h(3): error C3646: 'OfflineShop' : unknown override specifier
1>c:\zmuserver\zsource\gameserver\source\bonusonline.h(3): error C2065: 'OBJECT_MAX' : undeclared identifier
1>c:\zmuserver\zsource\gameserver\source\bonusonline.h(3): error C2090: function returns array
1>c:\zmuserver\zsource\gameserver\source\bonusonline.h(7): error C2065: 'OBJECT_MAX' : undeclared identifier
1>c:\zmuserver\zsource\gameserver\source\bonusonline.h(11): error C2146: syntax error : missing ';' before identifier 'ExUser'
1>c:\zmuserver\zsource\gameserver\source\bonusonline.h(11): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\zmuserver\zsource\gameserver\source\bonusonline.h(11): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>bonusonline.cpp(10): error C2556: 'void PointsForOnline(int)' : overloaded function differs only by return type from 'void *PointsForOnline(int)'
1> c:\zmuserver\zsource\gameserver\source\bonusonline.h(1) : see declaration of 'PointsForOnline'
1>bonusonline.cpp(10): error C2040: 'PointsForOnline' : 'void (int)' differs in levels of indirection from 'void *(int)'
1>bonusonline.cpp(19): error C2228: left of '.ExTimeTick' must have class/struct/union
1> type is 'int'
1>bonusonline.cpp(20): error C2228: left of '.ExTimeTick' must have class/struct/union
1> type is 'int'
1>bonusonline.cpp(22): error C2228: left of '.ExTimeTick' must have class/struct/union
1> type is 'int'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========
 
Elite Diviner
Joined
Oct 1, 2007
Messages
413
Reaction score
9
Re: [Source] Season 6 EP 3 # SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, H

gens not auto attack ?

Relative Gens
Glyph display
none



GensSystem.txt not ?

how
Gensmap
Is it made?
 
Put Community First
Loyal Member
Joined
Oct 2, 2014
Messages
1,115
Reaction score
833
Re: [Source] Season 6 EP 3 # SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, H

Nice release, will take a look at this :). Been itching to play MU again for mindless grinding killing of mobs to music, haha. Too much stress lately.
 
Joined
May 26, 2009
Messages
17,304
Reaction score
3,217
Re: [Source] Season 6 EP 3 # SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, H

Nice release, will take a look at this :). Been itching to play MU again for mindless grinding killing of mobs to music, haha. Too much stress lately.

we miss your activity on this section bruh =]
let us know how it goes
 
Newbie Spellweaver
Joined
Oct 22, 2007
Messages
75
Reaction score
8
Re: [Source] Season 6 EP 3 # SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, H

Sky Event doesnt work at all.
SCFCherryBlossomEnabled=1 thats another event but use same NPC 450 Governor Blossom for sky entering.
Disabling Cherry Blossom => NPC do nothing.
Analizing source...seems ok ....

Solutions?
 
Banned
Banned
Joined
Aug 28, 2013
Messages
539
Reaction score
103
Re: [Source] Season 6 EP 3 # SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, H

Sky Event doesnt work at all.
SCFCherryBlossomEnabled=1 thats another event but use same NPC 450 Governor Blossom for sky entering.
Disabling Cherry Blossom => NPC do nothing.
Analizing source...seems ok ....

Solutions?

Just put the pink elf (cherry blosom) in Devias Safe, and when the skyevent is open, talk with her with the Star of Sky (ticket for sky event)
~Lucila
 
Newbie Spellweaver
Joined
Jun 4, 2012
Messages
87
Reaction score
12
Re: [Source] Season 6 EP 3 # SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, H

// ----------------------------------------------------------------------------------------------


void Interface::DrawTime()
{
if (!this->Data[eTIME].OnShow)
{
return;
}
// ----
if (this->CheckWindow(ObjWindow::ChatWindow) || this->CheckWindow(ObjWindow::CashShop)
|| this->CheckWindow(ObjWindow::FullMap) || this->CheckWindow(ObjWindow::SkillTree)
|| this->CheckWindow(ObjWindow::MoveList) || gObjUser.m_MapNumber == 34 || gObjUser.m_MapNumber == 30)
{
return;
}
// ----
this->DrawGUI(eTIME, this->Data[eTIME].X, this->Data[eTIME].Y);
// -----
time_t TimeServer, TimeLocal;
struct tm * ServerT, *LocalT;
time(&TimeServer);
time(&TimeLocal);
// ----
ServerT = gmtime(&TimeServer);
// ----
char ServerTimeName[25] = "Server:";
char ServerTime[30];
sprintf(ServerTime, "%2d:%02d:%02d", (ServerT->tm_hour + 3) % 24, ServerT->tm_min, ServerT->tm_sec);
// -----
LocalT = localtime(&TimeLocal);
// -----
char LocalTimeName[25] = "Local:";
char LocalTime[30];
sprintf(LocalTime, "%2d:%02d:%02d", LocalT->tm_hour, LocalT->tm_min, LocalT->tm_sec);
// -----
this->DrawFormat(eGold, 5, 391, 50, 1, ServerTimeName); CHANGE COLOR?
this->DrawFormat(eWhite, 55, 391, 100, 1, ServerTime); CHANGE COLOR?
// ----
this->DrawFormat(eGold, 5, 413, 50, 1, LocalTimeName); CHANGE COLOR?
this->DrawFormat(eWhite, 55, 413, 100, 1, LocalTime); CHANGE COLOR?
}
// ----------------------------------------------------------------------------------------------
COMO LE CAMBIO EL COLOR AL RELOJ
 
Last edited:
Junior Spellweaver
Joined
Feb 10, 2014
Messages
179
Reaction score
9
Re: [Source] Season 6 EP 3 # SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, H

Please tell me what am I doing wrong ? When you build a GameServer & GameServerCS it turns out the same. How can I build correctly ?

DaoVanTrong - [Release] Source S6 E3 SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, HPBar - RaGEZONE Forums
 
Junior Spellweaver
Joined
Dec 17, 2011
Messages
106
Reaction score
5
Re: [Source] Season 6 EP 3 # SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, H

nice release Pinkof You can refer to this title function
 
Newbie Spellweaver
Joined
Jun 4, 2012
Messages
87
Reaction score
12
Re: [Source] Season 6 EP 3 # SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, H

ani solution



aid can not be reset my level 400 but I get do not have enough level
pliss sources
DaoVanTrong - [Release] Source S6 E3 SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, HPBar - RaGEZONE Forums

ani solution?
 
Newbie Spellweaver
Joined
Jun 4, 2012
Messages
87
Reaction score
12
Re: [Source] Season 6 EP 3 # SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, H

no is error debug game server
 
Newbie Spellweaver
Joined
Dec 2, 2016
Messages
6
Reaction score
0
Re: [Source] Season 6 EP 3 # SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, H

how to fix bug effect skill death stab dk
DaoVanTrong - [Release] Source S6 E3 SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, HPBar - RaGEZONE Forums



end bug skill dl

DaoVanTrong - [Release] Source S6 E3 SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, HPBar - RaGEZONE Forums
 
Put Community First
Loyal Member
Joined
Oct 2, 2014
Messages
1,115
Reaction score
833
Re: [Source] Season 6 EP 3 # SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, H

When attacking monsters they seem to attack me from a distance, then walk to my position. For example, starting as an Elf I walk outside to kill Goblins and start taking damage from mobs I don't see, then they approach me. Then I kill them and the loot drops further away.

Any ideas? I seem to recall this happening in other files too...

I also seem to be getting no exp from killing mobs around Noria.
 
Junior Spellweaver
Joined
Feb 10, 2014
Messages
179
Reaction score
9
Re: [Source] Season 6 EP 3 # SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, H

Guys who are testing this server! A tat image of the rating changes ? Or it is necessary manually to change ?
 
Junior Spellweaver
Joined
Feb 10, 2014
Messages
179
Reaction score
9
Re: [Source] Season 6 EP 3 # SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, H

Hmm well why you need it ? Time is not working as it should
 
Newbie Spellweaver
Joined
Dec 2, 2016
Messages
6
Reaction score
0
Re: [Source] Season 6 EP 3 # SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, H

[QUOTE = Ongtrum114; 8.724.710] làm thế nào để khắc phục hiệu quả lỗi kỹ năng chết đâm dk[/ QUOTE]


please give me a specific guide
or Code thank



[QUOTE = Ongtrum114; 8.724.710] làm thế nào để khắc phục hiệu quả lỗi kỹ năng chết đâm dk
DaoVanTrong - [Release] Source S6 E3 SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, HPBar - RaGEZONE Forums



dl cuối lỗi kỹ năng

DaoVanTrong - [Release] Source S6 E3 SCFMT 12.0.0.1+ Custom Wings, Jewel, HONOR RANK TITLE, HPBar - RaGEZONE Forums
[/ QUOTE]


please give me a specific guide
or Code thank
 
Back
Top