Redux v2 - Official 5065 Classic Source

01/17/2014 16:58 LordGragen.#811
how about compose ? there is one in market but i am sure thats was not the way to compose items in 5065.
01/17/2014 17:15 mujake#812
Quote:
Originally Posted by LordGragen. View Post
how about compose ? there is one in market but i am sure thats was not the way to compose items in 5065.
I have an composition npc done for wuxing oven.As compostion with progress it was added in 5095 i think .For 5065 this is the right way, after +9 with dbs and under, 2 of same + for upgrade.
01/17/2014 17:20 LordGragen.#813
in 5065 i think the max was +9 right?
01/17/2014 17:28 mujake#814
Quote:
Originally Posted by LordGragen. View Post
in 5065 i think the max was +9 right?
As i have seen on fangs blog on 5002 they added +10 to +12 and on 5017 or something max level 137
01/17/2014 22:12 LordGragen.#815
This npc is for my project but idk maybe some of you would like it and maybe use it.

its a report npc. here is a picture.
[Only registered and activated users can see links. Click Here To Register...]

here is the code.

Code:
  public override void Run(Game_Server.Player _client, ushort _linkback)
        {
            Responses = new List<NpcDialogPacket>();
            AddAvatar();
            switch (_linkback)
            {
                case 0:
                    AddText("Hello there do you have something to report? Please let us know.");
                    AddOption("report", 1);
                    AddOption("Just passing by.", 255);
                    break;
                case 1:
                    AddText("Please Enter your report");
                    AddInput("Report", 2);                    
                     break;
                case 2:
                     String Report = _client.NpcInputBox;
                     var report = new Database.Domain.DbBugReport();
                     report.Reporter = _client.Name;
                     report.Description = Report;
                     report.ReportedAt = DateTime.Now;
                     Database.ServerDatabase.Context.BugReports.Add(report);
                     break;
            }
            AddFinish();
            Send();
        }
Now i get this small problem idk how to fix so if you figure out let me know.
[Only registered and activated users can see links. Click Here To Register...] as you can see its not letting you post more then that.
01/17/2014 23:01 Aceking#816
Couple things, composition points was like 5067 or 5068. If you want to upgrade your client to 5068 you can, there are a couple neat little features that come with it like the claim cps button. But it also comes with composition points which I am against.
Crypto didn't change. But there will be some packet offsets you will need to adjust, like the item information packet to include composition points. Shouldn't be too hard to find.

The experience bar in the client disappears once you reach level 136, not sure if this was intentional by TQ or if thats what they set the max level to and stated otherwise.

Lastly, @Gragen. The reason you are running into this issue is the fact you are using the NPC input box, which is likely restricting the amount of characters that can be entered. Your best option is to use a chat command. Pro implemented one for the live server, I am not sure but it might actually be in the 2.9 release. If it isn't, then I would suggest changing your code into a chat command, it should be fairly easy as you have written most of it anyway.
01/18/2014 04:51 mujake#817
Yes the command is but you have to add the database table, witch is easy.
There you go, an report table for /report command.



This is MagicArtisan NPC(The meteors calculations are not accurate and might get errors ) it works well as i tested it.



for meteors calculations i tried to use in ConquerItem.cs something like :


But it was returning last value or first, maybe someone can tell me what was wrong with it.
01/18/2014 10:43 mkd1231#818
guys i got problem with the database i can't add it some
[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';


-- ----------------------------
-- Procedure structure for `GetNobilityRa' at line 3
[Err] INSERT INTO `stats` VALUES ('402', '2', '42', '82', '24', '27', '0');
INSERT INTO `stats` VALUES ('403', '2', '43', '85', '24', '27', '0');
INSERT INTO `stats` VALUES ('404', '2', '44', '87', '24', '28', '0');
INSERT INTO `stats` VALUES ('405', '2', '45', '89', '25', '28', '0');
INSERT INTO `stats` VALUES ('406', '2', '46', '91', '25', '29', '0');
INSERT INTO `stats` VALUES ('407', '2', '47', '93', '25', '30', '0');
INSERT INTO `stats` VALUES ('408', '2', '48', '95', '26', '30', '0');
INSERT INTO `stats` VALUES ('409', '2', '49', '97', '26', '31', '0');
01/18/2014 10:57 mujake#819
Quote:
Originally Posted by mkd1231 View Post
guys i got problem with the database i can't add it some
[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';


-- ----------------------------
-- Procedure structure for `GetNobilityRa' at line 3
[Err] INSERT INTO `stats` VALUES ('402', '2', '42', '82', '24', '27', '0');
INSERT INTO `stats` VALUES ('403', '2', '43', '85', '24', '27', '0');
INSERT INTO `stats` VALUES ('404', '2', '44', '87', '24', '28', '0');
INSERT INTO `stats` VALUES ('405', '2', '45', '89', '25', '28', '0');
INSERT INTO `stats` VALUES ('406', '2', '46', '91', '25', '29', '0');
INSERT INTO `stats` VALUES ('407', '2', '47', '93', '25', '30', '0');
INSERT INTO `stats` VALUES ('408', '2', '48', '95', '26', '30', '0');
INSERT INTO `stats` VALUES ('409', '2', '49', '97', '26', '31', '0');
Use full mysql community server or in appserv use innodb .



This is Ethereal NPC (For Blessed attribute upgrade) it works as I tested it, this will upgrade only already blessed items as I didn't find on TQ website any link regarding making -1 items in 5065 by tortoise gems.

01/18/2014 14:50 mkd1231#820
hmm dont work i was try dont work :@ !
01/18/2014 19:06 Wuscheli#821
how to spawn a mob with an NPC?
01/18/2014 19:07 pro4never#822
Try to avoid all local variables. They are simply not needed...

Split it into two sections. One dealing with cost + confirmation and one dealing with the actual upgrade.
01/18/2014 20:11 mkd1231#823
Guys i wana ask somting !
Dit someone got the redux source full with all new npc shops fixed here got much codes but me need much time to add all pls if someone got the full source with the new npc fix bugs pls send me .. and i use vps got much lagging 500-1000 !
01/18/2014 20:22 Aceking#824
I added Virtue Points along with a basic formula for it under the GainExperience method in player.cs.
I don't know how accurate the formula will be since there has been no official formula.
So if you wish to change it to increase or decrease it, that is entirely up to you
01/19/2014 09:05 mujake#825
This is celestial tao(it works just fine but let me know how to update stats after changing them)