Jump to content

newsubzero

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by newsubzero

  1. oh but i already do that u.u! i have every thing fine D:! and in the emu insent appear an error....T^T im so sad i realy love aeries tears T^T!

    // Notice that the last 1000 entries are used for player clones, so always set this to desired value +1000

    #define MIN_MOB_DB 1000

    #define MAX_MOB_DB 6000 << I modify this but still de problem....

    Do you use the sql db for mobs ? Or you may have an error during the db loading before scripts errors.

    conf/inter_athena.conf

    //Use SQL item_db and mob_db for the map server

    use_sql_db: no

    i still error like this what should i do?

    error2.png

    
    [status]: Done reading '0' entries in 'db/mob_item_ratio.txt'.
    [status]: Done reading '1293' entries in 'db/re/mob_db.txt'.
    [Error]: sv_readdb: Too many columns in line 34 of "db/mob_db2.txt" (found 58, m
    aximum is 57).
    [Error]: sv_readdb: Too many columns in line 35 of "db/mob_db2.txt" (found 58, m
    aximum is 57).
    [Error]: sv_readdb: Too many columns in line 36 of "db/mob_db2.txt" (found 58, m
    aximum is 57).
    [Error]: sv_readdb: Too many columns in line 37 of "db/mob_db2.txt" (found 58, m
    aximum is 57).
    [Error]: sv_readdb: Too many columns in line 38 of "db/mob_db2.txt" (found 58, m
    aximum is 57).
    

  2. i want to make NPC auto give but error like this

    [Error]: script_rid2sd: fatal error ! player not attached!
    [Debug]: Source (NPC): dmdmswd at prontera (0,0)
    [Warning]: script:get_val: cannot access player variable 'domswd', defaulting to 0
    

    this is idea :

    - NPC random time every 7 day to player who online except in vending,

    - if player not online or online that item will delete automatically before random player get that.

    - if player die item will lost.

    - player who have that item can kill by other player

    - if other player kill that player who have that item, other player will have that item.

    - item can't be taken off, after equipped.

    help me what should i do with my script ?

    this is my start script

    prontera,0,0,0 script dmdmswd -1,{
    OnInit:
    OnClock0000:
    set .DmdTime,rand(24);
    OnMinute00:
    if( gettime(3) == .DmdTime ){
    set .DelayMin,rand(60);
    sleep ( .DelayMin * 60000 * 7 );
    while(1){
     query_sql "select account_id from 'char' where online = 1 order by rand() limit 1", .@onl;
     attachrid .@onl;
     if( CheckVending() ){
      DetachRID();
      continue;
      }
     announce strcharinfo(0) +" won in 666 Sword.", 0;
     query_sql "DELETE FROM Inventory WHERE nameid='27666'";
     getitem 27666,1;
     set domswd, 1;
     break;
     }
    }
    if (domswd >= 1){
     OnPCDieEvent:
     dispbottom "Holy Shit you died!";
     dispbottom "Your Weapon will gone!";
     query_sql "DELETE FROM Inventory WHERE nameid='27666'";
     set domswd, 0;
     end;
      }
    end;
    }
    

    i'm sory my english not good

    [solved] invalid syntax /sry

×
×
  • Create New...