Jump to content

Recommended Posts

Posted

Hello, I bring you the dressme system of the latest l2jorion revs adapted to acis 405 and 372

 

code acis 405:https://pastebin.com/965X2mTb

code acis 372:https://pastebin.com/vtmZA378

 

 

sql: https://www.mediafire.com/file/itjrhfyt3cwf29f/characters_dressme_data.sql/file

 

video 

 

  • Like 1
Posted (edited)

Good evening i have the following error :

Using Acis rev 401 public version

  

  [javac] C:\Users\USER\Desktop\BACKUP\l2\source\workspace\acis_public-master\aCis_gameserver\java\net\sf\l2j\gameserver\DressMeData.java:17: error: DressMeData is not abstract and does not override abstract method parseDocument(Document,Path) in IXmlReader
    [javac] public class DressMeData implements IXmlReader
    [javac]        ^
    [javac] C:\Users\USER\Desktop\BACKUP\l2\source\workspace\acis_public-master\aCis_gameserver\java\net\sf\l2j\gameserver\DressMeData.java:46: error: cannot find symbol
    [javac]        parseDatapackFile("./data/xml/dressme.xml");
    [javac]        ^
    [javac]   symbol:   method parseDatapackFile(String)
    [javac]   location: class DressMeData
    [javac] C:\Users\USER\Desktop\BACKUP\l2\source\workspace\acis_public-master\aCis_gameserver\java\net\sf\l2j\gameserver\DressMeData.java:54: error: method does not override or implement a method from a supertype
    [javac]    @Override
    [javac]    ^
    [javac] C:\Users\USER\Desktop\BACKUP\l2\source\workspace\acis_public-master\aCis_gameserver\java\net\sf\l2j\gameserver\network\clientpackets\RequestBypassToServer.java:128: error: incompatible types: String cannot be converted to int
    [javac]                                         player.sendMessage("The command " + command.substring(7 + " does not exist!"));
    [javac]                                                                                                 ^
    [javac] C:\Users\USER\Desktop\BACKUP\l2\source\workspace\acis_public-master\aCis_gameserver\java\net\sf\l2j\gameserver\network\clientpackets\RequestBypassToServer.java:320: error: method sendMessage in class Player cannot be applied to given types;
    [javac]                                 player.sendMessage("You have successfully purchased ",  sp.getName(),  " skin.");
    [javac]                                       ^
    [javac]   required: String
    [javac]   found: String,String,String
    [javac]   reason: actual and formal argument lists differ in length
    [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
    [javac] 5 errors

 

Edited by MiReEn
Posted (edited)
23 hours ago, MiReEn said:

Good evening i have the following error :

Using Acis rev 401 public version

  

  [javac] C:\Users\USER\Desktop\BACKUP\l2\source\workspace\acis_public-master\aCis_gameserver\java\net\sf\l2j\gameserver\DressMeData.java:17: error: DressMeData is not abstract and does not override abstract method parseDocument(Document,Path) in IXmlReader
    [javac] public class DressMeData implements IXmlReader
    [javac]        ^
    [javac] C:\Users\USER\Desktop\BACKUP\l2\source\workspace\acis_public-master\aCis_gameserver\java\net\sf\l2j\gameserver\DressMeData.java:46: error: cannot find symbol
    [javac]        parseDatapackFile("./data/xml/dressme.xml");
    [javac]        ^
    [javac]   symbol:   method parseDatapackFile(String)
    [javac]   location: class DressMeData
    [javac] C:\Users\USER\Desktop\BACKUP\l2\source\workspace\acis_public-master\aCis_gameserver\java\net\sf\l2j\gameserver\DressMeData.java:54: error: method does not override or implement a method from a supertype
    [javac]    @Override
    [javac]    ^
    [javac] C:\Users\USER\Desktop\BACKUP\l2\source\workspace\acis_public-master\aCis_gameserver\java\net\sf\l2j\gameserver\network\clientpackets\RequestBypassToServer.java:128: error: incompatible types: String cannot be converted to int
    [javac]                                         player.sendMessage("The command " + command.substring(7 + " does not exist!"));
    [javac]                                                                                                 ^
    [javac] C:\Users\USER\Desktop\BACKUP\l2\source\workspace\acis_public-master\aCis_gameserver\java\net\sf\l2j\gameserver\network\clientpackets\RequestBypassToServer.java:320: error: method sendMessage in class Player cannot be applied to given types;
    [javac]                                 player.sendMessage("You have successfully purchased ",  sp.getName(),  " skin.");
    [javac]                                       ^
    [javac]   required: String
    [javac]   found: String,String,String
    [javac]   reason: actual and formal argument lists differ in length
    [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
    [javac] 5 errors

 

 

 

https://pastebin.com/qfgXjPPi acis 401 clean core       

https://pastebin.com/zM6K5t0j acis 401 clean data

 

item_icons.sql https://www.mediafire.com/file/b526nf6i6kuckjm/item_icons.sql/file

 

 

video 

 

 

 

 

Edited by tensador3
video
  • 2 weeks later...
Posted

I get these errors in RequestBypassToServer in acis revision 405

 

The method showDressMeMainPage(Player) is undefined for the type RequestBypassToServer

The method showSkinList(Player, String, int) is undefined for the type RequestBypassToServer

The method showMySkinList(Player, int) is undefined for the type RequestBypassToServer

The method checkWeapons(Player, ItemInstance, WeaponType, WeaponType) is undefined for the type RequestBypassToServer

Duplicate local variable itemId

Duplicate local variable player

Illegal modifier for parameter getItemNameById; only final is permitted

Void methods cannot return a value

void is an invalid type for the variable showSkinList

void is an invalid type for the variable showDressMeMainPage

Syntax error on token "++", Expression expected after this token

 private static void showMySkinList(Player player, int page) --->  Syntax error on token "(", ; expected

public static boolean checkWeapons(Player player, ItemInstance skin, WeaponType weapon1, WeaponType weapon2) --> Syntax error on token ",", ; expected

Illegal modifier for parameter sdf; only final is permitted

htm.replace("%time%", sdf.format(new Date(System.currentTimeMillis())));  -------->sdf cannot be resolved

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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...