Jump to content

FearlesS

Members
  • Content Count

    38
  • Joined

  • Last visited


Reputation Activity

  1. Like
    FearlesS reacted to Brynner in Gravity error in gefenia01 dun   
    Geffenia maps 01-04
    gefenia.rar
  2. Like
    FearlesS reacted to Patskie in R> IP & account based freebies npc   
    /* Run below script to create table * CREATE TABLE IF NOT EXISTS `freebies_ip` AS * SELECT `LAST_IP` `IP` FROM `LOGIN` LIMIT 0; */ prontera,150,150,6 script Test 4W_SAILOR,{ if (!#FREEBIES && !query_sql("SELECT `IP` FROM `FREEBIES_IP` WHERE `IP` = '" + getcharip() + "'", .@ip$)) { .@i = 0; while (.@i < .size) { getitem .freebies[.@i], .freebies[.@i+1]; .@i += 2; } #FREEBIES = 1; query_sql("INSERT INTO `FREEBIES_IP` VALUES ('" + getcharip() + "')"); end; } mes "Already claimed freebies"; close; OnInit: // <item id>,<amount> setarray .freebies[0], Speed_Up_Potion_Box10, 5, Yggdrasilberry_Box_, 10; .size = getarraysize(.freebies); end; } Run the sql script first on the comment header
  3. Upvote
    FearlesS got a reaction from AlisonS in Queue BG rewrite   
    hercules\src\map\skill.c(6912): error C2143: syntax error : missing ';' before 'type' 5>f:\server\hercules\src\map\skill.c(6913): error C2143: syntax error : missing ';' before 'type' 5>f:\server\hercules\src\map\skill.c(6915): error C2065: 'needed' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(6918): error C2065: 'id' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(6920): error C2065: 'id' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(6922): error C2065: 'id' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(6923): error C2065: 'id' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(6925): error C2065: 'needed' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(6928): error C2065: 'id' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(6930): error C2065: 'id' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(6931): error C2065: 'id' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(6933): error C2065: 'id' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(6934): error C2065: 'id' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(7745): error C2065: 'x' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(7745): error C2065: 'y' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(7745): error C2065: 'x' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(7745): error C2065: 'y' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(7767): error C2065: 'x' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(7767): error C2065: 'y' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(7767): error C2065: 'x' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(7767): error C2065: 'y' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(9920): warning C4116: unnamed type definition in parentheses 5>f:\server\hercules\src\map\skill.c(9988): error C2061: syntax error : identifier 'skill_castend_nodamage_id_dead_unknown' 5>f:\server\hercules\src\map\skill.c(9988): error C2059: syntax error : ';' 5>f:\server\hercules\src\map\skill.c(9988): error C2059: syntax error : 'type' 5>f:\server\hercules\src\map\skill.c(14689): error C2043: illegal break 5>f:\server\hercules\src\map\skill.c(14694): error C2059: syntax error : 'if' 5>f:\server\hercules\src\map\skill.c(14715): error C2059: syntax error : 'else' 5>f:\server\hercules\src\map\skill.c(14737): error C2059: syntax error : 'if' 5>f:\server\hercules\src\map\skill.c(14759): error C2059: syntax error : 'if' 5>f:\server\hercules\src\map\skill.c(14781): error C2059: syntax error : 'if' 5>f:\server\hercules\src\map\skill.c(14803): error C2059: syntax error : 'if' 5>f:\server\hercules\src\map\skill.c(14825): error C2059: syntax error : 'if' 5>f:\server\hercules\src\map\skill.c(14847): error C2059: syntax error : 'if' 5>f:\server\hercules\src\map\skill.c(14869): error C2059: syntax error : 'if' 5>f:\server\hercules\src\map\skill.c(14893): error C2059: syntax error : 'switch' 5>f:\server\hercules\src\map\skill.c(14908): error C2059: syntax error : 'if' 5>f:\server\hercules\src\map\skill.c(14926): error C2059: syntax error : 'switch' 5>f:\server\hercules\src\map\skill.c(15012): error C2059: syntax error : 'return' 5>f:\server\hercules\src\map\skill.c(15013): error C2059: syntax error : '}' 5>f:\server\hercules\src\map\skill.c(19860): error C2065: 'skill_castend_nodamage_id_dead_unknown' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(19860): warning C4047: '=' : 'bool (__cdecl *)(block_list *,block_list *,uint16 *,uint16 *,int64 *,int *)' differs in levels of indirection from 'int' 5>f:\server\hercules\src\map\skill.c(19874): error C2065: 'skill_get_requirement_off_unknown' : undeclared identifier 5>f:\server\hercules\src\map\skill.c(19874): warning C4047: '=' : 'bool (__cdecl *)(status_change *,uint16 *)' differs in levels of indirection from 'int' how to fix this error
     
     
×
×
  • Create New...

Important Information

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