Jump to content

Johnathan

Members
  • Posts

    21
  • Joined

  • Last visited

  • Days Won

    1

Community Answers

  1. Johnathan's post in Can't connect to server was marked as the answer   
    I solved the problem, only changed the AMAZON_AWS_PUBLIC_DNS in char_athena and map_athena, for the ipv4 provided by Amazon. I don't know if this is Elastic IP. 
    The other files still having the AMAZON_AWS_PUBLIC_DNS.
    Thx for the help.
  2. Johnathan's post in SQL Error: main.sql invalid default value for 'time' was marked as the answer   
    I solve this, thank for your help @Hurtsky.
    I find the answer here: https://www.sitepoint.com/quick-tip-how-to-permanently-change-sql-mode-in-mysql/
    Was like here:
    But I added more things. The newer version of MySql doesn't enable the use of zeros in date fields (date, datetime and etc). So I activated it again, to do this, I run inside MySql:
    select @@sql_mode I copied the configs, removing the tags NO_ZERO_IN_DATE,NO_ZERO_DATE.  After that, I pasted the new configs like @Hurtsky said.
  3. Johnathan's post in Npc blank was marked as the answer   
    prontera,155,179,2 script Debug 1001,{ OnTouch: //set @count, 0; mes "[npc name]"; switch(@count){ case 0:{ mes "Please, do not bother me. I am in pain."; @count++; close; }break; case 1:{ mes "Can you not see I am grieving? Begone."; @count++; close; }break; case 2:{ mes "I have no quarrel with you stranger, LEAVE ME BE."; @count++; close; }break; case 3:{ if(countitem(578) >= 80){ delitem 578,80; getitem 19620,1; mes "Congrats!"; @count++; close; }else{ mes "You don't have what I want."; close; } }break; } mes "Im sorry for being rude, please, come near me. Would you like to hear my melancholic tale?"; close; end; } Was the OnInit, @count it's on player, can't be executed at OnInit Now I suppose that will runs everything ok.
×
×
  • Create New...