Lord System Bug ~ No Voting Period

Results 1 to 7 of 7
  1. #1
    Newbie NGxBing is offline
    MemberRank
    May 2011 Join Date
    In Your PantsLocation
    14Posts

    sad Lord System Bug ~ No Voting Period

    Escuse me erryone, just wanted to find out if anyone knows how to fix the lord system bug in which there is no voting period therefore the lord is selected entirely based on whoever voted first as no candidates would have votes. It seems like it could be a problem with an sql query, however I am not sure which query or how I would edit it in order for it to work. If you know how to fix this bug, please help me out.

    Thankayou in advance ^_^


  2. #2
    Newbie NGxBing is offline
    MemberRank
    May 2011 Join Date
    In Your PantsLocation
    14Posts

    Re: Lord System Bug ~ No Voting Period

    Bump. Really need help with this. :\

  3. #3
    Member TheRealFoam is offline
    MemberRank
    Mar 2012 Join Date
    62Posts

    Re: Lord System Bug ~ No Voting Period

    Can you tell us which ServerFiles you are using? Are you using Selfcompiled ones? What did you change?

    Which Resources etc. is needed as well.

  4. #4
    Newbie NGxBing is offline
    MemberRank
    May 2011 Join Date
    In Your PantsLocation
    14Posts

    Re: Lord System Bug ~ No Voting Period

    I'm using my own edited version of blessed source but nothing to do with the lord system was edited.

  5. #5
    Now you can tag me! Detox is offline
    Grand MasterRank
    May 2009 Join Date
    NorwayLocation
    1,820Posts

    Re: Lord System Bug ~ No Voting Period

    Quote Originally Posted by TheRealFoam View Post
    Can you tell us which ServerFiles you are using? Are you using Selfcompiled ones? What did you change?

    Which Resources etc. is needed as well.
    ....

    @On topic

    Would be a good idea adding your election.inc file. Or else we wouldn't know the problem.

  6. #6
    Thunder Storms ~ raverking is offline
    Grand MasterRank
    Jan 2007 Join Date
    Phoenix CampusLocation
    903Posts

    Re: Lord System Bug ~ No Voting Period

    @sorry wrong section, please delete the post
    Last edited by raverking; 03-04-12 at 11:13 PM.

  7. #7
    Newbie NGxBing is offline
    MemberRank
    May 2011 Join Date
    In Your PantsLocation
    14Posts

    Re: Lord System Bug ~ No Voting Period

    Here is what the election.inc file looks like
    Code:
    property
    {
    	// 1 = Sunday, 2 = Monday, ..., 7 = Saturday
    	nDayOfWeek	6	// ÀÔÈĺ¸ ½ÃÀÛ ¿äÀÏ = ±Ý¿äÀÏ
    	nHour		0	// ÀÔÈĺ¸ ½ÃÀÛ ½Ã°£ = 0½Ã
    	tCandidacy	86400	// ÀÔÈĺ¸ ±â°£ = 24½Ã°£
    	tVote		172800	// ÅõÇ¥ ±â°£ = 48½Ã°£
    	nDays		14	// ±ºÁÖ ¼±°Å °£°Ý = 14ÀÏ
    }
    
    rate
    {
    	1.0	// µæÇ¥ ¼øÀ§¿¡ µû¸¥ ¹ÝȯÀ²	// 1
    	1.0	// 2
    	0.8	// 3
    	0.6	// 4
    	0.4	// 5
    	0.2	// 6
    	0.0	// 7
    	0.0
    	0.0
    	0.0
    	0.98	// Èĺ¸ Å»¶ô ¹ÝȯÀ²
    }
    
    fRequirementFactor		0.1	// ÃÖ¼Ò ±ºÁÖ µæÇ¥ ºñÀ²
    
    item	0	// ±ºÁÖ ¾ÆÀÌÅÛ Áö±Þ		// ³²
    {
    II_ARM_M_CHR_MAJESTY01HAT
    II_ARM_M_CHR_MAJESTY01SUIT
    II_ARM_M_CHR_MAJESTY01GLOVES
    II_ARM_M_CHR_MAJESTY01SHOES
    II_PET_YETI
    II_ARM_S_CLO_CLO_MAJESTY
    II_RID_RID_STI_MAJESTYBIKE
    }
    
    item	1	// ±ºÁÖ ¾ÆÀÌÅÛ Áö±Þ		// ¿©
    {
    II_ARM_F_CHR_MAJESTY01HAT
    II_ARM_F_CHR_MAJESTY01SUIT
    II_ARM_F_CHR_MAJESTY01GLOVES
    II_ARM_F_CHR_MAJESTY01SHOES
    II_PET_YETI
    II_ARM_S_CLO_CLO_MAJESTY
    II_RID_RID_STI_MAJESTYBIKE
    }



Advertisement