Redux v2 - Official 5065 Classic Source

12/07/2013 11:49 corbit15#436
Quote:
Originally Posted by Kiyono View Post
At the moment you set the color of _item to 3 and delete the black tulip but don't you also need to save it and update the item in the client so that it shows up?
That's where I'm stuck I'm not sure how to update and save it
12/07/2013 16:39 pro4never#437
Quote:
Originally Posted by corbit15 View Post
That's where I'm stuck I'm not sure how to update and save it
You need to get the equipment from your equipment manager.

Something more like...

var armor = _client.Equipment.GetEquipmentByLocation(ItemLocat ion.Armor);
if(armor == null)
return;//no armor to dye, don't waste tulip
armor.Color = 9;
armor.Save();
_client.DeleteItem(_item);
12/07/2013 16:39 DDTtrainer#438
@pro, a lot of changes submitted lately. Can you please release a newer version of the source? Its hard to keep track.
12/07/2013 17:41 iPlayHD#439
When I execute the .sql file over to MySQL it keeps saying [Msg] Finished - Unsuccessfully and I'm at the point that I have no idea what to do about this... Any help? Thanks
12/07/2013 17:53 mujake#440
Make sure u have innodb checked if you are using appserv
12/07/2013 17:56 iPlayHD#441
Sorry to sound like an idiot at this point but, how exactly do I check on innodb? I read that on an earlier comment some 1 told some 1 else about it but I have no idea how to check up on it.
12/07/2013 18:14 pro4never#442
Quote:
Originally Posted by DDTtrainer View Post
@pro, a lot of changes submitted lately. Can you please release a newer version of the source? Its hard to keep track.
We're not releasing it till features are done.

Right now most of the added features will run into tons of issues if you try to use them (EG: pets)

Again, if you're actively developing with the source feel free to send me a PM with the type of stuff you're adding and I can put you in the dropbox. Releases are for stable releases though.
12/07/2013 18:55 mujake#443
well while installing appserv make sure u check innodb box..is where u set passwork i think.
Who uses pets these days?
12/07/2013 21:02 iPlayHD#444
So... as soon as I turn on the Redux.exe this is what I get [Only registered and activated users can see links. Click Here To Register...]
12/07/2013 22:54 corbit15#445
Quote:
Originally Posted by pro4never View Post
You need to get the equipment from your equipment manager.

Something more like...

var armor = _client.Equipment.GetEquipmentByLocation(ItemLocat ion.Armor);
if(armor == null)
return;//no armor to dye, don't waste tulip
armor.Color = 9;
armor.Save();
_client.DeleteItem(_item);
Tried this a few different ways but still can't get it to change the color. Black armor color is 2.
Ill keep trying different ways to see what I come up with

#edit ok I bought armor from the shop thinking maybe it just didn't work with my armor. Still no success, however when I dropped the armor I bought it showed on the ground as black and I picked it up and it was black. So I guess its not updating right?
12/07/2013 23:55 mujake#446
Here's an working NPC to socket weapons made from GodlyArtisan in market


Work perfectly now , i think... thanks to aceking who told me where to look for packet update.
Feel free to improve it.
12/08/2013 00:08 Aceking#447
Quote:
Originally Posted by mujake View Post
Here's an working NPC to socket weapons made from GodlyArtisan in market


I don't know to make it updates the packets to show it from start, i have dropped it on the floor and picked it up and the sockets are made.
Feel free to improve it.
In both cases you need to send the item information packet to the client with the updated values....
If you look at some of the upgrading npcs like the one in TC when there is a successful upgrade and you will see what you need to do....

Quote:
Originally Posted by iPlayHD View Post
So... as soon as I turn on the Redux.exe this is what I get [Only registered and activated users can see links. Click Here To Register...]
Your database isn't setup correctly because it can't call the stored procedure for the guilds...
Make sure you use the SQL backup in the folder
12/08/2013 00:35 Spirited#448
Stickied for continual development, involvement of the community, and starting stable development with the 5065 patch. The project is promising. Good luck with everything.
12/08/2013 00:52 iPlayHD#449
Quote:
Originally Posted by Aceking View Post
Your database isn't setup correctly because it can't call the stored procedure for the guilds...
Make sure you use the SQL backup in the folder
Thanks but I already found out what the problem was, apparently appserv sucks for this kind of thing I had to use the MySQL on the main post...
12/08/2013 03:11 Aceking#450
I added basic broadcasts.
Nothing fancy, just broadcasts any new message once a minute.

Quote:
Originally Posted by mujake View Post
Here's an working NPC to socket weapons made from GodlyArtisan in market


Work perfectly now , i think... thanks to aceking who told me where to look for packet update.
Feel free to improve it.
Nice job....small suggestion though.
Rather than checking the item slot over and over, why not just use the weapon variable you already initialized and assigned the item to?
Just check if the weapon variable is null rather than pulling the information again.
Will just make it a little more efficient

Quote:
Originally Posted by corbit15 View Post
Tried this a few different ways but still can't get it to change the color. Black armor color is 2.
Ill keep trying different ways to see what I come up with

#edit ok I bought armor from the shop thinking maybe it just didn't work with my armor. Still no success, however when I dropped the armor I bought it showed on the ground as black and I picked it up and it was black. So I guess its not updating right?