Help Adding Ulu City

Results 1 to 9 of 9
  1. #1
    Member fristblod is offline
    MemberRank
    Apr 2018 Join Date
    46Posts

    sad Help Adding Ulu City

    Help Adding Ulu City
    Hi i working to add ulu city in my server everything works perfect the mobs and maps but i got an issue: null ..I already tried everything i have these mob in my server files and wz files ,all mobs works including krexel but this not working 9420526, please if anyone could help me ,Thanks for read


  2. #2
    Member Feras is online now
    MemberRank
    Jan 2019 Join Date
    45Posts

    Re: Help Adding Ulu City

    Looks like it's trying to load some mob stats from the wz files but there's something missing. Check MapleLifeFactory.java line 121 and see what node it's trying to load.

  3. #3
    Member fristblod is offline
    MemberRank
    Apr 2018 Join Date
    46Posts

    Re: Help Adding Ulu City

    This appear

    - - - Updated - - -

    128: stats.setHp(MapleDataTool.getIntConvert("maxHP", monsterInfoData));
    129:stats.setFriendly(MapleDataTool.getIntConvert("damagedByMob", monsterInfoData, stats.isFriendly() ? 1 : 0) == 1);
    120:stats.setPADamage(MapleDataTool.getIntConvert("PADamage", monsterInfoData));
    121stats.setPDDamage(MapleDataTool.getIntConvert("PDDamage", monsterInfoData));
    122stats.setMADamage(MapleDataTool.getIntConvert("MADamage", monsterInfoData));
    123stats.setMDDamage(MapleDataTool.getIntConvert("MDDamage", monsterInfoData));
    124 stats.setMp(MapleDataTool.getIntConvert("maxMP", monsterInfoData, stats.getMp()));
    125stats.setExp(MapleDataTool.getIntConvert("exp", monsterInfoData, stats.getExp()));
    126stats.setLevel(MapleDataTool.getIntConvert("level", monsterInfoData));
    127stats.setRemoveAfter(MapleDataTool.getIntConvert("removeAfter", monsterInfoData, stats.removeAfter()));
    128stats.setBoss(MapleDataTool.getIntConvert("boss", monsterInfoData, stats.isBoss() ? 1 : 0) > 0);
    129stats.setExplosiveReward(MapleDataTool.getIntConvert("explosiveReward", monsterInfoData, stats.isExplosiveReward() ? 1 : 0) > 0);
    130stats.setFfaLoot(MapleDataTool.getIntConvert("publicReward", monsterInfoData, stats.isFfaLoot() ? 1 : 0) > 0);
    131stats.setUndead(MapleDataTool.getIntConvert("undead", monsterInfoData, stats.isUndead() ? 1 : 0) > 0);
    132stats.setName(MapleDataTool.getString(mid + "/name", mobStringData, "MISSINGNO"));
    133stats.setBuffToGive(MapleDataTool.getIntConvert("buff", monsterInfoData, stats.getBuffToGive()));
    134stats.setCP(MapleDataTool.getIntConvert("getCP", monsterInfoData, stats.getCP()));
    135stats.setRemoveOnMiss(MapleDataTool.getIntConvert("removeOnMiss", monsterInfoData, stats.removeOnMiss() ? 1 : 0) > 0);

    - - - Updated - - -

    Quote Originally Posted by Feras View Post
    Looks like it's trying to load some mob stats from the wz files but there's something missing. Check MapleLifeFactory.java line 121 and see what node it's trying to load.
    121stats.setPDDamage(MapleDataTool.getIntConvert("PDDamage", monsterInfoData));
    Then i need to delete the PDDamage for this mob? Bcs in the wz file have this PDDamage

  4. #4
    Member Feras is online now
    MemberRank
    Jan 2019 Join Date
    45Posts

    Re: Help Adding Ulu City

    I don't think you should remove it. It just looks like there's some difficulty loading the PDDamage value for that mob. Go to MapleDataTool.java line 97 so we can see exactly what's wrong with it

  5. #5
    Member fristblod is offline
    MemberRank
    Apr 2018 Join Date
    46Posts

    Re: Help Adding Ulu City

    Quote Originally Posted by Feras View Post
    I don't think you should remove it. It just looks like there's some difficulty loading the PDDamage value for that mob. Go to MapleDataTool.java line 97 so we can see exactly what's wrong with it

    95: public static int getIntConvert(String path, MapleData data) {
    96: MapleData d = data.getChildByPath(path);
    97: if (d.getType() == MapleDataType.STRING) {
    98: return Integer.parseInt(getString(d));
    99: } else {
    100: return getInt(d);
    101: }
    102: }

  6. #6
    Hardcore Member JustAGame is offline
    MemberRank
    Dec 2010 Join Date
    Corrupted PlaceLocation
    142Posts

    Re: Help Adding Ulu City

    They are missing of "MDDamage" and" PDDamage" node under "info". Simply copy from other mob and paste it in.

  7. #7
    Member fristblod is offline
    MemberRank
    Apr 2018 Join Date
    46Posts

    Re: Help Adding Ulu City

    Quote Originally Posted by JustAGame View Post
    They are missing of "MDDamage" and" PDDamage" node under "info". Simply copy from other mob and paste it in.
    you are amazing friend thank you thank you very much, I can ask you another question now enter the map 541020700 but it gave me dc and I did not get an error I have the two mobs added 9420525 and 9420526 I also have the NPCs 9270044 9270045 now I don't know why it gave me dc.
    Code:
     <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <imgdir name="9420526.img">  
      <imgdir name="info">    
        <int name="firstAttack" value="1"/>    
        <int name="invincible" value="1"/>     
       <int name="hideName" value="1"/>    
        <int name="noFlip" value="1"/>   
         <int name="level" value="30"/>    
        <int name="bodyAttack" value="1"/>   
         <int name="maxHP" value="900"/>   
         <int name="maxMP" value="120"/>    
        <int name="PADamage" value="137"/>    
        <int name="PDRate" value="10"/>   
         <int name="MADamage" value="129"/>   
         <int name="MDRate" value="10"/>    
        <int name="acc" value="16"/>     
       <int name="eva" value="4"/>    
        <int name="pushed" value="150"/>    
        <float name="fs" value="10.0"/>      
      <int name="exp" value="60"/>     
       <int name="summonType" value="1"/>   
         <int name="undead" value="1"/>     
       <string name="mobType" value="1N"/>    
        <imgdir name="attack">         
       <imgdir name="0">          
          <int name="action" value="1"/>     
               <int name="attackRatio" value="100"/>     
               <int name="type" value="0"/>      
          </imgdir>     
       </imgdir>     
       <int name="PDDamage" value="170"/>   
         <int name="MDDamage" value="500"/>  
      </imgdir>    <imgdir name="stand">     
       <canvas name="0" width="162" height="145">      
          <vector name="origin" x="82" y="157"/>        
        <vector name="head" x="-19" y="-54"/>        
        <int name="delay" value="1000"/>    
        </canvas>     
       <canvas name="1" width="162" height="149">     
           <vector name="origin" x="82" y="157"/>     
           <vector name="head" x="-19" y="-54"/>    
            <int name="delay" value="130"/>    
        </canvas>   
         <canvas name="2" width="162" height="152">     
           <vector name="origin" x="82" y="157"/>     
           <vector name="head" x="-19" y="-54"/>     
           <int name="delay" value="130"/>    
        </canvas>   
         <canvas name="3" width="162" height="153">      
          <vector name="origin" x="82" y="157"/>        
        <vector name="head" x="-3" y="-50"/>         
       <int name="delay" value="130"/>        </canvas>     
       <canvas name="4" width="162" height="159">         
       <vector name="origin" x="82" y="157"/>       
         <vector name="head" x="-19" y="-54"/>  
              <int name="delay" value="130"/>   
         </canvas>  
          <canvas name="5" width="162" height="151">       
        <vector name="origin" x="82" y="157"/>     
           <vector name="head" x="0" y="-54"/>      
          <int name="delay" value="130"/>    
        </canvas>    
        <canvas name="6" width="162" height="158">      
          <vector name="origin" x="82" y="157"/>       
         <vector name="head" x="-19" y="-54"/>    
            <int name="delay" value="200"/>   
         </canvas>    </imgdir>  
      <imgdir name="attack1">    
        <imgdir name="info">       
         <imgdir name="range">       
             <vector name="lt" x="-160" y="-130"/>        
            <vector name="rb" x="130" y="1"/>    
            </imgdir>        
       <imgdir name="hit">     
               <int name="attach" value="1"/>    
                <canvas name="0" width="115" height="125">           
             <vector name="origin" x="64" y="112"/> 
                       <int name="delay" value="800"/>   
                 </canvas>          
          <canvas name="1" width="128" height="128">      
                  <vector name="origin" x="68" y="113"/>                 
       <int name="delay" value="100"/>       
      
           </canvas>              
      <canvas name="2" width="118" height="109">          
              <vector name="origin" x="65" y="99"/>          
              <int name="delay" value="100"/>  
          
            </canvas>          
          <canvas name="3" width="137" height="121">                 
       <vector name="origin" x="70" y="112"/>     
                   <int name="delay" value="100"/>       
            </canvas>       
             <canvas name="4" width="56" height="60">                 
       <vector name="origin" x="30" y="81"/>            
     
           <int name="delay" value="100"/>   
      
               </canvas>           
         <canvas name="5" width="69" height="69">             
           <vector name="origin" x="37" y="90"/>    
                    <int name="delay" value="100"/>     
               </canvas>            
        <canvas name="6" width="80" height="70">     
                   <vector name="origin" x="43" y="92"/>      
                 <int name="delay" value="100"/>     
               </canvas>              
      <canvas name="7" width="82" height="70">      
                  <vector name="origin" x="44" y="92"/>      
                  <int name="delay" value="100"/>   
                 </canvas>            
        <canvas name="8" width="78" height="62">      
                  <vector name="origin" x="42" y="89"/>     
                   <int name="delay" value="100"/>     
               </canvas>         
       </imgdir>     
           <int name="type" value="0"/>    
            <int name="effectAfter" value="390"/>        
        <int name="attackAfter" value="390"/>  
          </imgdir>      
      <canvas name="0" width="162" height="159">    
            <vector name="origin" x="82" y="157"/>   
             <vector name="head" x="-1" y="-32"/>  
              <int name="delay" value="130"/>   
        </canvas>     
       <canvas name="1" width="162" height="159">   
             <vector name="origin" x="82" y="157"/>      
          <vector name="head" x="-1" y="-32"/>        
       <int name="delay" value="130"/>     
       </canvas>  
          <canvas name="2" width="162" height="159">      
          <vector name="origin" x="82" y="157"/>       
         <vector name="head" x="-1" y="-32"/>      
          <int name="delay" value="130"/>     
       </canvas>  
          <canvas name="3" width="197" height="110">      
          <vector name="origin" x="117" y="157"/>       
         <vector name="head" x="-1" y="-32"/>        
        <int name="delay" value="130"/>    
        </canvas>     
       <canvas name="4" width="162" height="159">     
           <vector name="origin" x="82" y="157"/>     
           <vector name="head" x="-1" y="-32"/>     
           <int name="delay" value="130"/>      
      </canvas>      
    
      <canvas name="5" width="162" height="159">   
             <vector name="origin" x="82" y="157"/>    
    
            <vector name="head" x="-1" y="-32"/>      
          <int name="delay" value="130"/>   
         </canvas>    
        <canvas name="6" width="162" height="159">         
       <vector name="origin" x="82" y="157"/>       
         <vector name="head" x="-1" y="-32"/>     
           <int name="delay" value="130"/>    
        </canvas>     
       <canvas name="7" width="162" height="159">      
          <vector name="origin" x="82" y="157"/>        
        <vector name="head" x="-1" y="-32"/>     
           <int name="delay" value="130"/>        </canvas>   
         <canvas name="8" width="166" height="159">      
          <vector name="origin" x="82" y="157"/>       
         <vector name="head" x="-1" y="-32"/>      
          <int name="delay" value="130"/>     
       </canvas>    
        <canvas name="9" width="162" height="159">      
          <vector name="origin" x="82" y="157"/>        
        <vector name="head" x="-1" y="-32"/>     
           <int name="delay" value="130"/>     
       </canvas>     
       <canvas name="10" width="162" height="152">      
          <vector name="origin" x="82" y="157"/>        
        <vector name="head" x="-1" y="-32"/>    
            <int name="delay" value="130"/>       
     </canvas>     
       <canvas name="11" width="162" height="149">    
            <vector name="origin" x="82" y="157"/>        
        <vector name="head" x="-1" y="-32"/>    
            <int name="delay" value="130"/>  
          </canvas>   
     </imgdir>   
     <imgdir name="hit1">    
        <canvas name="0" width="162" height="145">     
           <vector name="origin" x="82" y="157"/>       
         <vector name="head" x="-6" y="-44"/>       
         <int name="delay" value="100"/>    
        </canvas>    </imgdir>    <imgdir name="die1">   
         <canvas name="0" width="162" height="145">    
            <vector name="origin" x="82" y="157"/>        
        <vector name="head" x="-6" y="-44"/> 
               <int name="delay" value="100"/>     
       </canvas>  
      </imgdir>
    </imgdir>

  8. #8
    Hardcore Member JustAGame is offline
    MemberRank
    Dec 2010 Join Date
    Corrupted PlaceLocation
    142Posts

    Re: Help Adding Ulu City

    Quote Originally Posted by fristblod View Post
    you are amazing friend thank you thank you very much, I can ask you another question now enter the map 541020700 but it gave me dc and I did not get an error I have the two mobs added 9420525 and 9420526 I also have the NPCs 9270044 9270045 now I don't know why it gave me dc.
    Code:
     <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <imgdir name="9420526.img">  
      <imgdir name="info">    
        <int name="firstAttack" value="1"/>    
        <int name="invincible" value="1"/>     
       <int name="hideName" value="1"/>    
        <int name="noFlip" value="1"/>   
         <int name="level" value="30"/>    
        <int name="bodyAttack" value="1"/>   
         <int name="maxHP" value="900"/>   
         <int name="maxMP" value="120"/>    
        <int name="PADamage" value="137"/>    
        <int name="PDRate" value="10"/>   
         <int name="MADamage" value="129"/>   
         <int name="MDRate" value="10"/>    
        <int name="acc" value="16"/>     
       <int name="eva" value="4"/>    
        <int name="pushed" value="150"/>    
        <float name="fs" value="10.0"/>      
      <int name="exp" value="60"/>     
       <int name="summonType" value="1"/>   
         <int name="undead" value="1"/>     
       <string name="mobType" value="1N"/>    
        <imgdir name="attack">         
       <imgdir name="0">          
          <int name="action" value="1"/>     
               <int name="attackRatio" value="100"/>     
               <int name="type" value="0"/>      
          </imgdir>     
       </imgdir>     
       <int name="PDDamage" value="170"/>   
         <int name="MDDamage" value="500"/>  
      </imgdir>    <imgdir name="stand">     
       <canvas name="0" width="162" height="145">      
          <vector name="origin" x="82" y="157"/>        
        <vector name="head" x="-19" y="-54"/>        
        <int name="delay" value="1000"/>    
        </canvas>     
       <canvas name="1" width="162" height="149">     
           <vector name="origin" x="82" y="157"/>     
           <vector name="head" x="-19" y="-54"/>    
            <int name="delay" value="130"/>    
        </canvas>   
         <canvas name="2" width="162" height="152">     
           <vector name="origin" x="82" y="157"/>     
           <vector name="head" x="-19" y="-54"/>     
           <int name="delay" value="130"/>    
        </canvas>   
         <canvas name="3" width="162" height="153">      
          <vector name="origin" x="82" y="157"/>        
        <vector name="head" x="-3" y="-50"/>         
       <int name="delay" value="130"/>        </canvas>     
       <canvas name="4" width="162" height="159">         
       <vector name="origin" x="82" y="157"/>       
         <vector name="head" x="-19" y="-54"/>  
              <int name="delay" value="130"/>   
         </canvas>  
          <canvas name="5" width="162" height="151">       
        <vector name="origin" x="82" y="157"/>     
           <vector name="head" x="0" y="-54"/>      
          <int name="delay" value="130"/>    
        </canvas>    
        <canvas name="6" width="162" height="158">      
          <vector name="origin" x="82" y="157"/>       
         <vector name="head" x="-19" y="-54"/>    
            <int name="delay" value="200"/>   
         </canvas>    </imgdir>  
      <imgdir name="attack1">    
        <imgdir name="info">       
         <imgdir name="range">       
             <vector name="lt" x="-160" y="-130"/>        
            <vector name="rb" x="130" y="1"/>    
            </imgdir>        
       <imgdir name="hit">     
               <int name="attach" value="1"/>    
                <canvas name="0" width="115" height="125">           
             <vector name="origin" x="64" y="112"/> 
                       <int name="delay" value="800"/>   
                 </canvas>          
          <canvas name="1" width="128" height="128">      
                  <vector name="origin" x="68" y="113"/>                 
       <int name="delay" value="100"/>       
      
           </canvas>              
      <canvas name="2" width="118" height="109">          
              <vector name="origin" x="65" y="99"/>          
              <int name="delay" value="100"/>  
          
            </canvas>          
          <canvas name="3" width="137" height="121">                 
       <vector name="origin" x="70" y="112"/>     
                   <int name="delay" value="100"/>       
            </canvas>       
             <canvas name="4" width="56" height="60">                 
       <vector name="origin" x="30" y="81"/>            
     
           <int name="delay" value="100"/>   
      
               </canvas>           
         <canvas name="5" width="69" height="69">             
           <vector name="origin" x="37" y="90"/>    
                    <int name="delay" value="100"/>     
               </canvas>            
        <canvas name="6" width="80" height="70">     
                   <vector name="origin" x="43" y="92"/>      
                 <int name="delay" value="100"/>     
               </canvas>              
      <canvas name="7" width="82" height="70">      
                  <vector name="origin" x="44" y="92"/>      
                  <int name="delay" value="100"/>   
                 </canvas>            
        <canvas name="8" width="78" height="62">      
                  <vector name="origin" x="42" y="89"/>     
                   <int name="delay" value="100"/>     
               </canvas>         
       </imgdir>     
           <int name="type" value="0"/>    
            <int name="effectAfter" value="390"/>        
        <int name="attackAfter" value="390"/>  
          </imgdir>      
      <canvas name="0" width="162" height="159">    
            <vector name="origin" x="82" y="157"/>   
             <vector name="head" x="-1" y="-32"/>  
              <int name="delay" value="130"/>   
        </canvas>     
       <canvas name="1" width="162" height="159">   
             <vector name="origin" x="82" y="157"/>      
          <vector name="head" x="-1" y="-32"/>        
       <int name="delay" value="130"/>     
       </canvas>  
          <canvas name="2" width="162" height="159">      
          <vector name="origin" x="82" y="157"/>       
         <vector name="head" x="-1" y="-32"/>      
          <int name="delay" value="130"/>     
       </canvas>  
          <canvas name="3" width="197" height="110">      
          <vector name="origin" x="117" y="157"/>       
         <vector name="head" x="-1" y="-32"/>        
        <int name="delay" value="130"/>    
        </canvas>     
       <canvas name="4" width="162" height="159">     
           <vector name="origin" x="82" y="157"/>     
           <vector name="head" x="-1" y="-32"/>     
           <int name="delay" value="130"/>      
      </canvas>      
    
      <canvas name="5" width="162" height="159">   
             <vector name="origin" x="82" y="157"/>    
    
            <vector name="head" x="-1" y="-32"/>      
          <int name="delay" value="130"/>   
         </canvas>    
        <canvas name="6" width="162" height="159">         
       <vector name="origin" x="82" y="157"/>       
         <vector name="head" x="-1" y="-32"/>     
           <int name="delay" value="130"/>    
        </canvas>     
       <canvas name="7" width="162" height="159">      
          <vector name="origin" x="82" y="157"/>        
        <vector name="head" x="-1" y="-32"/>     
           <int name="delay" value="130"/>        </canvas>   
         <canvas name="8" width="166" height="159">      
          <vector name="origin" x="82" y="157"/>       
         <vector name="head" x="-1" y="-32"/>      
          <int name="delay" value="130"/>     
       </canvas>    
        <canvas name="9" width="162" height="159">      
          <vector name="origin" x="82" y="157"/>        
        <vector name="head" x="-1" y="-32"/>     
           <int name="delay" value="130"/>     
       </canvas>     
       <canvas name="10" width="162" height="152">      
          <vector name="origin" x="82" y="157"/>        
        <vector name="head" x="-1" y="-32"/>    
            <int name="delay" value="130"/>       
     </canvas>     
       <canvas name="11" width="162" height="149">    
            <vector name="origin" x="82" y="157"/>        
        <vector name="head" x="-1" y="-32"/>    
            <int name="delay" value="130"/>  
          </canvas>   
     </imgdir>   
     <imgdir name="hit1">    
        <canvas name="0" width="162" height="145">     
           <vector name="origin" x="82" y="157"/>       
         <vector name="head" x="-6" y="-44"/>       
         <int name="delay" value="100"/>    
        </canvas>    </imgdir>    <imgdir name="die1">   
         <canvas name="0" width="162" height="145">    
            <vector name="origin" x="82" y="157"/>        
        <vector name="head" x="-6" y="-44"/> 
               <int name="delay" value="100"/>     
       </canvas>  
      </imgdir>
    </imgdir>
    Have you added trapSg.img under 'Obj' of Map.wz?

  9. #9
    Member fristblod is offline
    MemberRank
    Apr 2018 Join Date
    46Posts

    Re: Help Adding Ulu City

    Quote Originally Posted by JustAGame View Post
    Have you added trapSg.img under 'Obj' of Map.wz?
    Thanks so much my friend :D loveu <3 more ppl like u <<33



Advertisement