Jump to content

Dogpatch

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by Dogpatch

  1. Someone found the fix for this?

    Notice: Undefined offset: 0 in /public_html/addons/voteforpoints/modules/voteforpoints/index.php on line 44
    
    Notice: Trying to get property of non-object in /public_html/addons/voteforpoints/modules/voteforpoints/index.php on line 44

    When clicked "Vote" button this appears:

    Notice: Undefined index: HTTP_X_FORWARDED_FOR in /public_html/addons/voteforpoints/modules/voteforpoints/vote.php on line 16
    Warning: Cannot modify header information - headers already sent by (output started at /public_html/addons/voteforpoints/modules/voteforpoints/vote.php:16) in /public_html/lib/Flux/Template.php on line 860
    

    I think it's PHP version related :/

     

    Back read a little. There is already a solution for that along with the others having problems adding vote sites.

  2. Okay, now is a good time to wave the white flag. 

     

    Long story short, we migrated to a new host and had to transfer all the files from the old host to the new one. Everything is 99% working! The 1% left is something I have spent a few hours on trying to figure out what caused it with no luck at all -which is why I'm here.

     

    The characters are missing from the character selection screen. I checked the CP and the SQL and they are all there, items, cashpoints, deathmatch points, everything. The only thing missing are the characters from the selection screen. Like I said the migration is 99% so, no, there are no errors that occur when I run the server. Just the missing chars. 

     

    Does anyone know what might have caused this or have a solution?

     

    The only similar thread I found was this. But those are the defaults I have in SQL. 

    Thanks in advance!

     

    Edit/Update:

    Fixed. I was missing a table in SQL. Please close now.

  3. So after a few hours of reading around, I couldn't seem to fix these errors I'm getting when I click on My Account. I'm having difficulty fixing these ones.

    #0 /home/"servername"/public_html/lib/Flux/TemporaryTable.php(198): Flux_Connection_Statement->execute()
    #1 /home/"servername"/public_html/lib/Flux/TemporaryTable.php(80): Flux_TemporaryTable->import('*********.ite...')
    #2 /home/"servername"/public_html/modules/account/view.php(16): Flux_TemporaryTable->__construct(Object(Flux_Connection), '********.ite...', Array)
    #3 /home/"servername"/public_html/lib/Flux/Template.php(375): include('/home/"servername"/...')
    #4 /home/"servername"/public_html/lib/Flux/Dispatcher.php(170): Flux_Template->render()
    #5 /home/"servername"/public_html/index.php(180): Flux_Dispatcher->dispatch(Array)
    #6 {main}
    

    Can someone point me int he right direction. 

     

    Thanks in advance.


    EDIT:

     

    Fixed already.

     

    For those who have the same problem.

    Import the item_db2.sql from your folder to your MySQL. That's pretty much it.

  4. Can someone help me out on putting a 3 time usage limit per char on a Reset NPC. 

    set .@resetnpcname$,"[ Reset NPC ]";
    // ---- Cost for First usage
    set .@Cost1,1000000;
    set .@Cost11,2000000;
    // ---- Cost for Second usage
    set .@Cost2,5000000;
    set .@Cost22,10000000;
    // ---- Cost for Third usage
    set .@Cost3,5000000;
    set .@Cost33,10000000;
    // ------------ If the Player already used the reset npc 
    // ------------ for the 3rd time the npc will stop him 
    // ------------ to use this again as requested
    if (#resets >= 3) {
    	mes "Você já usou o meu serviço três vezes. Vaza";
    	close;
    }else{
    
    

    That's the starting lines, but it gives account bound 3 time usage, not char. I know I'm missing something, I just can't remember what. Sorry, I'm rusty. Haven't touched scripts in months.

     

    Thanks in advance.

×
×
  • Create New...