[Release] Server Season 3 + Custom Event/Jewels/System

Page 5 of 5 FirstFirst 12345
Results 101 to 110 of 110
  1. #101
    Enthusiast olaolala3 is offline
    MemberRank
    Mar 2016 Join Date
    28Posts

    re: [Release] Server Season 3 + Custom Event/Jewels/System

    when add stats over 32767, GS say hacking detected ?

  2. #102
    Member vytautas7 is offline
    MemberRank
    Jul 2013 Join Date
    72Posts

    re: [Release] Server Season 3 + Custom Event/Jewels/System

    you must check it in databaze make stats colummns fom smalint to int and check some other custom configs if not help error say its hacking detect thane not suported for 65k stats or try to fix hacklogserver config in commonservef.cfg
    o try to add me to skype i can try to check it

  3. #103
    $ \/\/ /-\ G G Emari is offline
    MemberRank
    Apr 2011 Join Date
    PhilippinesLocation
    670Posts

    re: [Release] Server Season 3 + Custom Event/Jewels/System

    it this good for high rate servers?

  4. #104
    Enthusiast Ryuno is offline
    MemberRank
    Aug 2016 Join Date
    30Posts

    re: [Release] Server Season 3 + Custom Event/Jewels/System

    Source of client??

  5. #105
    Member vytautas7 is offline
    MemberRank
    Jul 2013 Join Date
    72Posts

    re: [Release] Server Season 3 + Custom Event/Jewels/System

    use exsilum suorce

  6. #106
    Enthusiast Ryuno is offline
    MemberRank
    Aug 2016 Join Date
    30Posts

    re: [Release] Server Season 3 + Custom Event/Jewels/System

    I said it because I need custom updates to improve

  7. #107
    Member vytautas7 is offline
    MemberRank
    Jul 2013 Join Date
    72Posts

    re: [Release] Server Season 3 + Custom Event/Jewels/System

    use exsiluom suorce and make your own suorce from other suorces codes

    - - - Updated - - -

    becouse this files are maded from exsilum files

  8. #108
    Member ossoss is offline
    MemberRank
    Oct 2007 Join Date
    64Posts

    re: [Release] Server Season 3 + Custom Event/Jewels/System

    reupload pls thank you

  9. #109
    Member ossoss is offline
    MemberRank
    Oct 2007 Join Date
    64Posts

    re: [Release] Server Season 3 + Custom Event/Jewels/System

    new DL link pls...

  10. #110
    Member dyablows is offline
    MemberRank
    Oct 2007 Join Date
    Romania,IasiLocation
    92Posts

    re: [Release] Server Season 3 + Custom Event/Jewels/System

    Quote Originally Posted by James Pantao View Post
    why need to remove items

    - - - Updated - - -

    how to disable X shop....
    Source Modification of Reset.cpp in orded to work standard reset without inventory condition and without resetting stats.

    Code:
    //==================================================================================================//===================================== EX-GAMES GAMESERVER PROJECT ================================
    //==================================================================================================
    // File:          Reset.cpp
    // Description:   Reset System
    // Last Edit:     2.04.2013
    //==================================================================================================
    // Code: DangeR Skype: muonline.bk
    //==================================================================================================
    #include "USER.h"
    #include "Defines.h"
    #include "StdAfx.h"
    #include "CQuery.h"
    #include "Protocol.h"
    #include "Message.h"
    #include "AddFunctions.h"
    #include "Quest_PGW.h"
    
    
    
    
    //	Êîíôèãóðàöèè
    //==============
    int EnableResSys = GetPrivateProfileInt("Common","Enable",0,"..\\EData\\Reset.ini");
    int multEn = GetPrivateProfileInt("Common","multEn",0,"..\\EData\\Reset.ini");
    
    
    int MaxRes = GetPrivateProfileInt("Common","Max.res",100,"..\\EData\\Reset.ini");
    int Needlvl = GetPrivateProfileInt("Common","Need.lvl",400,"..\\EData\\Reset.ini");
    int Needzen = GetPrivateProfileInt("Common","Need.zen",10000000,"..\\EData\\Reset.ini");
    int Dkpoints = GetPrivateProfileInt("Common","Dk.points",600,"..\\EData\\Reset.ini");
    int Dwpoints = GetPrivateProfileInt("Common","Dw.points",600,"..\\EData\\Reset.ini");
    int Elfpoints = GetPrivateProfileInt("Common","Elf.points",600,"..\\EData\\Reset.ini");
    int Mgpoints = GetPrivateProfileInt("Common","Mg.points",700,"..\\EData\\Reset.ini");
    int Dlpoints = GetPrivateProfileInt("Common","Dl.points",700,"..\\EData\\Reset.ini");
    
    
    int AddGemOn = GetPrivateProfileInt("Common","AddGemOn",0,"..\\EData\\Reset.ini");
    int AddGem = GetPrivateProfileInt("Common","AddGem",0,"..\\EData\\Reset.ini");
    // Ôóíêöèÿ âûïîëíåíèÿ
    //===================
    void FunctionReset (DWORD gObjId,char UserName[11]) 
    {
    	OBJECTSTRUCT * gObj = (OBJECTSTRUCT*)OBJECT_POINTER(gObjId);
    	
    	exQueryUpdate("UPDATE Character SET Resets = Resets + 1 WHERE Name='%s'", UserName);
    
    
    	if(AddGemOn)
    	{
    		exQueryUpdate("UPDATE MEMB_INFO SET CashPoint = CashPoint + %d WHERE memb___id='%s'",AddGem,gObj->AccountID);
    	}
    
    
    	//MySQL.Execute("SELECT Resets FROM Character WHERE Name='%s'",UserName);
    	//int UserRes = MySQL.GetInt();
    	int UserRes = ( ExUser[gObjId].Resets + 1 );
    	int NumRes = 0;
    
    
    	switch(gObj->Class)
    	{
    		case 0: NumRes = UserRes*Dwpoints; break;
    		case 1: NumRes = UserRes*Dkpoints; break;
    		case 2: NumRes = UserRes*Elfpoints;break;
    		case 3: NumRes = UserRes*Mgpoints; break;
    		case 4: NumRes = UserRes*Dlpoints; break;
    	}
    	int NewNeedZen(0);
    	if(multEn)
    	{
    		NewNeedZen = UserRes * Needzen;
    		gObj->Money = gObj->Money - NewNeedZen;
    	}
    	else
    		gObj->Money = gObj->Money - Needzen;
    
    
    	gObj->Level = 1;
    	gObj->Experience = 0;
    	//MySQL.Execute("SELECT gr_res FROM Character WHERE Name='%s'",UserName);
    	//int UserRangs = MySQL.GetInt();
    	int UserRangs = ExUser[gObjId].GResets;
    	int EnableRangSys = GetPrivateProfileInt("Common","Enable",0,"..\\EData\\GrandReset.ini");
    	if(EnableRangSys == 1 && UserRangs > 0)
    	{
    		//GRand Reset Configs
    		int GDkpoints = GetPrivateProfileInt("Common","Dk.points",600,"..\\EData\\GrandReset.ini");
    		int GDwpoints = GetPrivateProfileInt("Common","Dw.points",600,"..\\EData\\GrandReset.ini");
    		int GElfpoints = GetPrivateProfileInt("Common","Elf.points",600,"..\\EData\\GrandReset.ini");
    		int GMgpoints = GetPrivateProfileInt("Common","Mg.points",700,"..\\EData\\GrandReset.ini");
    		int GDlpoints = GetPrivateProfileInt("Common","Dl.points",700,"..\\EData\\GrandReset.ini");
    		int GNumRes(0);
    		switch(gObj->Class)
    		{
    			case 0: GNumRes = UserRangs*GDwpoints;break;
    			case 1: GNumRes = UserRangs*GDkpoints;break;
    			case 2: GNumRes = UserRangs*GElfpoints;break;
    			case 3: GNumRes = UserRangs*GMgpoints;break;
    			case 4: GNumRes = UserRangs*GDlpoints;break;
    		}
    		gObj->LevelUpPoint = GNumRes + NumRes + ExUser[gObjId].Ex_FreePoints;
    	}
    	else
    	{
    		gObj->LevelUpPoint = NumRes + ExUser[gObjId].Ex_FreePoints;
    	}
    
    
    
    
    }
    // Ôóíêöèÿ ïðîâåðêè
    //=================
    void CheckReset (int aIndex)
    {
    	if(!EnableResSys)
    		return;
    	OBJECTSTRUCT * gObj = (OBJECTSTRUCT*)OBJECT_POINTER(aIndex);
    
    
    	if(gObj->MapNumber != 0)
    	{
    		MsgNormal(aIndex,"[Reset]: Started In Lorencia");
    		return;
    	}
    
    
    	LogAddText(2,"gObj->m_IfState: %d",gObj->m_IfState);
    
    
    	//if(gObj->m_IfState != 384)
    	//{
    	//	MsgNormal(aIndex,"[Reset]: Interface Disable");
    	//}
    
    
    	//MySQL.Execute("SELECT Resets FROM Character WHERE Name='%s'",gObj->Name);
    	//int UserReset = MySQL.GetInt();
    	int UserReset = ExUser[aIndex].Resets;
    	int ifNeedzen(0);
    	if(multEn)
    		ifNeedzen = (UserReset+1)*Needzen;
    	else
    		ifNeedzen = Needzen;
    
    
    	{
    		if(UserReset<MaxRes)
    		{
    			if(gObj->Level >= Needlvl)
    			{
    				if(gObj->Money >= ifNeedzen)
    				{
    					MsgNormal(aIndex,"[Reset] Start Reset");
    
    
    					FireCracker(aIndex, gObj->X, gObj->Y);
    					gObjCloseSet(aIndex, 1);
    					FunctionReset (aIndex,gObj->Name);
    					GCMoneySend(gObj->m_Index, gObj->Money);	
    				}
    				else
    				{
    					MsgNormal(aIndex,"[Reset] You need above %d Zen to Reset",ifNeedzen);
    				}
    			}
    			else
    			{	
    				MsgNormal(aIndex,"[Reset] You need above %d lvl to Reset",Needlvl);
    			}
    		}
    		else
    		{
    			MsgNormal(aIndex,"[Reset] Max Reset %d",UserReset);
    		}
    	}
    	
    }



Page 5 of 5 FirstFirst 12345

Advertisement