Jump to content
  • 0

Emperium Test Breaker Script


someoneloveyou

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.04
  • Content Count:  31
  • Reputation:   0
  • Joined:  06/13/23
  • Last Seen:  

hello guys, i try to learn how to make ragnarok online, and in 2 weeks everything worked but when I wanted to add an emperium test breaker, I was very confused because the source code was different from the one in my rathen.

 db/import/instance_db.txt
 200,Emperium Test Breaker,3600,1,job3_arch01,26,28

and in my rathena like that

  - Id: 4
    Name: Nidhoggur's Nest
    TimeLimit: 14400
    Enter:
      Map: 1@nyd
      X: 32
      Y: 36
    AdditionalMaps:
      2@nyd: true

i try make like that, thats wrong ?

  - Id: 5
    Name: Emperium Test Breaker
    TimeLimit: 3600
    Enter:
      Map: job3_arch01
      X: 26
      Y: 28
and where i can put 200 ?

and i very confused when i adding mob db

my mob_db source code like that
  - Id: 1288
    AegisName: EMPELIUM
    Name: Emperium
    Level: 90
    Hp: 68430
    Attack: 60
    Attack2: 71
    Defense: 40
    MagicDefense: 50
    Agi: 17
    Vit: 80
    Int: 50
    Dex: 26
    Luk: 20
    AttackRange: 1
    SkillRange: 10
    ChaseRange: 12
    Size: Small
    Race: Angel
    RaceGroups:
      Gvg: true
    Element: Holy
    ElementLevel: 1
    WalkSpeed: 300
    AttackDelay: 1288
    AttackMotion: 288
    DamageMotion: 384
    Class: Boss

and i must put in the source code like that
3002,EMPELIUM,Emperium,Emperium,90,68430,0,0,0,1,60,71,40,50,1,17,80,50,26,20,10,12,0,8,26,0x6200000,300,1288,288,384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

and my mob avail like that

  # iRO Halloween Event 2009
#  - Mob: EP14_3_DEATH_B_MOB2
#    Sprite: WHISPER
#  - Mob: EP14_3_DEATH_B_MOB3
#    Sprite: DARK_LORD

and i must put in like that
 3002,1288,0 // Emperium Test Breaker

and i try to put in like that
// Emperium Test Breaker
  - Mob: 1288
    Sprite: 3002

that is wrong ?

 

i use this script Instanced Emperium Test Breaker + Ranker/Ladder 1.0.0 by Mubuhay

anyone can help me ?, thanks alot advance if you guys want to help me

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  236
  • Reputation:   87
  • Joined:  06/30/18
  • Last Seen:  

What happened is that rAthena uses a new format for the databases since the release of the script you are using.
For the first, I assume the 200 is the ID to make sure it doesn't collide with upcoming instances.

  - Id: 200
    Name: Emperium Test Breaker
    TimeLimit: 3600
    Enter:
      Map: job3_arch01
      X: 26
      Y: 28

For the mob db you could simply copy the original Emperium und use the ID 3002 for the copy. But beware: You can't add 3002 if you use renewal, since a mob is already defined at this ID. In this case you would have to take an ID that is higher and match the script and mob avail accordingly.
You mixed the order up in your mob avail:

  - Mob: 3002
    Sprite: 1288

The first ID is the mob, the second is the sprite it should use, in this case the sprite of the emperium. The client doesn't know what sprite to show for your mob, so you have to tell the server to send it a known ID the client can use to show the mob.

Edited by Winterfox
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.04
  • Content Count:  31
  • Reputation:   0
  • Joined:  06/13/23
  • Last Seen:  

On 7/30/2023 at 12:42 AM, Winterfox said:

What happened is that rAthena uses a new format for the databases since the release of the script you are using.
For the first, I assume the 200 is the ID to make sure it doesn't collide with upcoming instances.

  - Id: 200
    Name: Emperium Test Breaker
    TimeLimit: 3600
    Enter:
      Map: job3_arch01
      X: 26
      Y: 28

For the mob db you could simply copy the original Emperium und use the ID 3002 for the copy. But beware: You can't add 3002 if you use renewal, since a mob is already defined at this ID. In this case you would have to take an ID that is higher and match the script and mob avail accordingly.
You mixed the order up in your mob avail:

  - Mob: 3002
    Sprite: 1288

The first ID is the mob, the second is the sprite it should use, in this case the sprite of the emperium. The client doesn't know what sprite to show for your mob, so you have to tell the server to send it a known ID the client can use to show the mob.

done thank, it work fine. but i still confused with this script

6010,Pickaxe,Pickaxe,4,10,,10,10,,1,0,0xFFFFFFFF,7,0,34,0,0,0,0,{ bonus bAspd,-30; bonus bCritical,100; bonus bAtkRate,-100; autobonus "{ callfunc \"Minner_Main\",1; }",10000,1,BF_WEAPON; },{ callfunc "Minner_Main",0; },{ callfunc "Minner_Main",2; }

i try to add like this

  - Id: 300061
    AegisName: neun_pickaxe
    Name:  Neun Pickaxe
    Type: Weapon
    View: 2488
    Locations:
      Both_Hand: true
    ArmorLevel: 1
    EquipLevelMin: 1
    Script: |
      bonus bAspd,-30;
      bonus bCritical,100;
      bonus bAtkRate,-100;
      autobonus "{ callfunc \"Minner_Main\",1; }",10000,1,BF_WEAPON; },{ callfunc "Minner_Main",0; },{ callfunc "Minner_Main",2; }

i think will be error cause auto bonus, well did oyou knew what i must do with this script ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  236
  • Reputation:   87
  • Joined:  06/30/18
  • Last Seen:  

  - Id: 6010
    AegisName: Pickaxe
    Name: Pickaxe
    Type: Armor
    Buy: 10
    Weight: 10
    Attack: 10
    Range: 1
    Classes:
      Normal: true
      Upper: true
      Baby: true
    Gender: Female
    Locations:
      Both_Hand: true
    Script: |
      bonus bAspd,-30; bonus bCritical,100; bonus bAtkRate,-100; autobonus "{ callfunc \"Minner_Main\",1; }",10000,1,BF_WEAPON;
    EquipScript: |
      callfunc "Minner_Main",0;
    UnEquipScript: |
      callfunc "Minner_Main",2;

According to the csv2yaml tool, your item should look like above. I can't check it, since I can't find the documentation of the old rathena text format.
But without knowing the details of the item, it seems weird that it gets typed as armor and female only.

Edited by Winterfox
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.04
  • Content Count:  31
  • Reputation:   0
  • Joined:  06/13/23
  • Last Seen:  

11 hours ago, Winterfox said:
  - Id: 6010
    AegisName: Pickaxe
    Name: Pickaxe
    Type: Armor
    Buy: 10
    Weight: 10
    Attack: 10
    Range: 1
    Classes:
      Normal: true
      Upper: true
      Baby: true
    Gender: Female
    Locations:
      Both_Hand: true
    Script: |
      bonus bAspd,-30; bonus bCritical,100; bonus bAtkRate,-100; autobonus "{ callfunc \"Minner_Main\",1; }",10000,1,BF_WEAPON;
    EquipScript: |
      callfunc "Minner_Main",0;
    UnEquipScript: |
      callfunc "Minner_Main",2;

According to the csv2yaml tool, your item should look like above. I can't check it, since I can't find the documentation of the old rathena text format.
But without knowing the details of the item, it seems weird that it gets typed as armor and female only.

i will try, huge thanks, little confused if i get old script and i use latest rathena version

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.02
  • Content Count:  121
  • Reputation:   0
  • Joined:  09/02/20
  • Last Seen:  

On 8/5/2023 at 9:00 AM, someoneloveyou said:

i will try, huge thanks, little confused if i get old script and i use latest rathena version

bro if you dont mind, can you share ?

 

On 8/4/2023 at 9:25 PM, Winterfox said:

According to the csv2yaml tool, your item should look like above. I can't check it, since I can't find the documentation of the old rathena text format.
But without knowing the details of the item, it seems weird that it gets typed as armor and female only.

i dont understand, can you more detail ?
where to put those ?

Edited by ManokStreZ
doble
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...