Jump to content

malufett

Retired Staff
  • Content Count

    657
  • Joined

  • Last visited

  • Days Won

    29

Posts posted by malufett


  1. // == SQL item, mob, mob skill databases// =====================================// Note: the following databases may get out of date at times, or not be// thoroughly tested (if at all, since they're auto-generated). As such it is// not advisable to rely on them other than for informative reasons (Control// Panels, websites, etc.)// Unless you know what you're doing, please consider using their txt version.// Note2: It is perfectly legit (and recommended) to use txt databases in// Hercules, while still loading the SQL tables we provide to be used// exclusively by your Control Panel or Website. 

    :meow:


  2. @luffy

    don't worry..we will use official packet...and thanks sir Yommy for this packets..

    // packet 0x8cbstruct PACKET_ZC_PERSONAL_INFOMATION {  /* this+0x0 */ short PacketType  /* this+0x2 */ short PacketLength  /* this+0x4 */ short Exp  /* this+0x6 */ short Death  /* this+0x8 */ short Drop  /* this+0xa */ struct DETAIL_EXP_INFO DetailInfo[...] { // Size 6    /* this+0x0 */ unsigned char InfoType    /* this+0x1 */ short Exp    /* this+0x3 */ short Death    /* this+0x5 */ short Drop  }} // packet 0x97b struct PACKET_ZC_PERSONAL_INFOMATION2 {  /* this+0x0 */ short PacketType  /* this+0x2 */ short PacketLength  /* this+0x4 */ int Exp  /* this+0x8 */ int Death  /* this+0xc */ int Drop  /* this+0x10 */ struct DETAIL_EXP_INFO DatailInfo[...] { // Size 13    /* this+0x0 */ unsigned char InfoType    /* this+0x1 */ int Exp    /* this+0x5 */ int Death    /* this+0x9 */ int Drop  }}// packet 0x981struct PACKET_ZC_PERSONAL_INFOMATION_CHN {  /* this+0x0 */ short PacketType  /* this+0x2 */ short PacketLength  /* this+0x4 */ short Exp  /* this+0x6 */ short Death  /* this+0x8 */ short Drop  /* this+0xa */ short ActivityRate  /* this+0xc */ struct DETAIL_EXP_INFO DatailInfo[...] { // Size 13    /* this+0x0 */ unsigned char InfoType    /* this+0x1 */ int Exp    /* this+0x5 */ int Death    /* this+0x9 */ int Drop  }}

     

    :meow:


  3. how can i view it using @effect i mean is what is the number of the default aura in @effect i made a custom aura and i'm trying hard to look what number is it thanks

     

    200. Normal level 99 Aura (Middle)201. Normal level 99 Aura (Bottom)202. Lv 99 Aura Bubble397. Trancended 99 Aura (Middle)398. Trancended 99 Aura (Bottom)757. Third Class Aura (Middle) 

    :meow:


  4. '!' is a 'not' operator

    example if `questprogress` is equal to '1' then we will use it in a logical statement

    if(questprogress){ // this means that `questprogress` > 0// code here will parse cause the statement is satisfied} 

    otherwise

    if(!questprogress){ // this means that `questprogress` not > 0// code here will not parse cause the statement is not satisfied} 

    :meow:


  5.  

    the TPLUS, do you have also configuration for that?

    yup and we will call it Event Plus...this will apply if you server will have an event like an Anniversary that will give all player a bonus exp..

     

    afaik as I know we don't have tplus event in our repo...

    :meow:


  6.  

    Ever tried to add

    ?module=install&action=reinstall

    to the end of your cp URL? I think it's a tad easier than deleting and redownloading files ^_^'

    Sorry.I can't do.T^T

     

     

    To reinstall Flux go to YourFluxFolder/data/logs/schemas and delete the "charmapdb/YourServerName" and "logindb/YourServerName" folders then delete everything but the index file from "data/tmp" folder.

    After that, open the main page of your cp in a browser and you will be redirected to install page.

    Sorry.I can't do this.

    why can't do it?

     

    :meow:


  7.  

    the tittle it self :) i need a php or code on how to put auto play music on my flux

    can't do with php..js and html can do the trick..its widely available in the internet..

     

     

    and if its possible it does not stop upon switching links.

    then make your flux ajax or dhtml or inside a frame..

     

    :meow:


  8.  

    I wonder why it says "Client Loaded 2014 03 03", the .exe that I use is named as 2014-03-05bRagexe

    2014 03 03 means the exe was created and 2014-03-05b the date of release of the exe

     

     

    Then I run the diffed .exe and the Setup.exe opened. After closing the Setup.exe it opened itself again, until I stopped the task trough the task manager

    remove the ''HKLM to HKCU' diff option..

     

    :meow:


  9.  

    great, what about we can choose group IDs too instead of group level?
    I don't know whats the difference..anyway since many suggest that it should have expiration so let's add new entry in the database table..
     
     

     

    and what will happen to items and characters that are on "extra" spaces when vip run out?
    still there..I mimic aegis about the storage it will be like from 500/600 then when expire 500/300 so it will overlap and you can remove but can't add anymore to the storage..about the char slot can't find any in aegis, on how it works cause this vip settings won't expire its permanent..so a remedy I think of is to transfer chars to unallocated slots if it occupy the extra slots, and if it occupies all then let it be...its slots will come back to original state when char is deleted...
     

     

    have you tested everything? xD andwhat will be the script commands that we will be able to use?
    ispremium() and setpremium({<time?>});
     

     

    and atcommands related to this, is there any?
    maybe reloadvipsettings? any addition?
     

     

    and will the expiration be only in 2016-01-01 format? there will not be option to set hours too, something like 2016-01-01 15:23?
    or lets make it a timer? long value?
     

     

    if you need any more input just ask xD
    lol...I'm already asking for it..hahahaha
    need more info about it cause I'm not familiar with this system..
     
    :meow:

  10.  

    Good day malufett,

     

    After many hours &  a night of mind processing while sleeping.. haha  :heh:

    I just wanna say Thank you so much! so kind of yours.

    I got it working now.. though I'm still trying to understand the Structure of the program and how the codes Flow.. I want to learn more of it.

    well, though I'm not so good in Arrays.. we're in Java 2 Object Oriented and we tackled basic Arrays and now it made me realize its importance.

    for example what if I want it to be in Circle shape...? and so on...  :rolleyes:

    oh I just hope this wouldn't be the last.. again thank you for your assistance.

     

    Keep it up and have a great day to you.  :D

     

    good for you...and hope you understand why I'm getting hard on you..

    cause you need it and I hate spoon feeding..:P

     

     

    :meow:


  11. ok..almost done guys...just need more comments and inputs from you... :no1:

     

    final conf...

    //====================================================//=       _   _                     _           //=      | | | |                   | |          //=      | |_| | ___ _ __ ___ _   _| | ___  ___ //=      |  _  |/ _  '__/ __| | | | |/ _ / __|//=      | | | |  __/ | | (__| |_| | |  __/__ //=      _| |_/___|_|  ___|__,_|_|___||___///=                                                  //=            http://herc.ws/board/                        //====================================================// Premium Service Info Configs//====================================================psi: ({	/* 0 : disable, 1 : enable, 2 : enable + PC Cafe Premium  */	PremiumSvcType: 1  	/* Uncomment to enable */	/*EventPlus:{				BaseEXP: 100		JobEXP: 100		DeathBasePenalty: -10		DeathJobPenalty: -10		DropRate: 100	},*/	PCCafeGrade: (		{ /* 0 */			BaseEXP: 100			JobEXP: 100			DeathBasePenalty: -10			DeathJobPenalty: -10			DropRate: 100		}	),	PCCafeList: (		{			IP: "127.0.0.1"			Grade: 0                        Expiration: "2016-01-01"		}	),	PremiumGradeInfo:(		{			GroupLevel: 0 /* Normal Players */			BaseEXP: 0			JobEXP: 0			DeathBasePenalty: 0			DeathJobPenalty: 0			DropRate: 0			MaxCharSlot: 9			MaxStorage: 300		},		{			GroupLevel: 1 /* VIP 1 */			BaseEXP: 100			JobEXP: 100			DeathBasePenalty: -10			DeathJobPenalty: -10			DropRate: 100			MaxCharSlot: 12			MaxStorage: 600		},		{			GroupLevel: 2 /* VIP 2 */			BaseEXP: 250			JobEXP: 100			DeathBasePenalty: -50			DeathJobPenalty: -50			DropRate: 200			MaxCharSlot: 12			MaxStorage: 600		}	)})

    Screenshot:

    11ayceg.jpg

     

    :meow:


  12. this is the whole code..

     

    skill->firewall_unit_pos = pos;for (i=0;i<8;i++) {  if (i&1) {   skill->unit_layout[pos].count = 5;   if (i&0x2) {    int dx[] = {-1,-1, 0, 0, 1};    int dy[] = { 1, 0, 0,-1,-1};    memcpy(skill->unit_layout[pos].dx,dx,sizeof(dx));    memcpy(skill->unit_layout[pos].dy,dy,sizeof(dy));   } else {    int dx[] = { 1, 1 ,0, 0,-1};    int dy[] = { 1, 0, 0,-1,-1};    memcpy(skill->unit_layout[pos].dx,dx,sizeof(dx));    memcpy(skill->unit_layout[pos].dy,dy,sizeof(dy));   }  } else {   skill->unit_layout[pos].count = 3;   if (i%4==0) {    int dx[] = {-1, 0, 1};    int dy[] = { 0, 0, 0};    memcpy(skill->unit_layout[pos].dx,dx,sizeof(dx));    memcpy(skill->unit_layout[pos].dy,dy,sizeof(dy));   } else {    int dx[] = { 0, 0, 0};    int dy[] = {-1, 0, 1};    memcpy(skill->unit_layout[pos].dx,dx,sizeof(dx));    memcpy(skill->unit_layout[pos].dy,dy,sizeof(dy));   }  }  pos++;} 

    ok those coordinates are patterns..

    and as I said before you need to plot it,... into a Cartesian plane you can see the pattern..

    for example

    2eb9x7b.png

     

    I hope after seeing this you will get the idea...

    Word of the day: A good programmer is a good mathematician...:D

     

     

    :meow:


  13.  

    I've studied Java some Web PL. but not so C++. :sry:   but I'm planning to learn it.

    nah...all programming language are the same..as long as you understand how to do 'if else' you can survive as a programmer..

     

     

    please can you edit the codes below? cause I might do it the wrong way.

    nah..I don't want...if you want to learn...you must experience to fail..so do trial and error..anyway here is a hint..

    skill->unit_layout[pos].count = 5; // number of points    if (i&0x2) {   // here are x points and y points having this plot it and you can see something      int dx[] = {-1,-1, 0, 0, 1};       int dy[] = { 1, 0, 0,-1,-1};      memcpy(skill->unit_layout[pos].dx,dx,sizeof(dx)); // just copying of array dx to skill->unit_layout      memcpy(skill->unit_layout[pos].dy,dy,sizeof(dy)); // just copying of array dy to skill->unit_layout

    :meow:

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.