Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 16.01.2006, 00:20   #1
khul
Архивный участник
 
Join Date: Oct 2005
Posts: 153
Default [MT]SYMBOLS - henna dyes project

Subject originally posted by Drzoom and thread had to be closed due to the fact that an argue with no point was started. Maybe we can start it all over again. I took the freedom to repost the subject myself quoting its author : Drzoom. . Im quoting what drzoom posted once. Hope this will become a good project for the PP comunity.
P.s.:If there is a problem with me doing this do not hessitate in deleting it

Quote:
Originally Posted by drzoom
Hello everybody. I decided to write this post to allow all of us to take part in producing fix for symbols. In other words we will do symbols as on off!

I know people, that has it working, but i want to do it myself with help of u! So when we'll done it - everyone who will help may say "THAT IS MY FIX, I DID IT". And IF we'll do it - this would be 1st fix of community!

First of all i want to say, that one thing u must do - USE YOUR BRAIN!!! Nothing more. To do this fix we should have all information about how symbols are working. I'll write this info later, but if you want to help, post here some links or post this info inside the topik.

Ok, let's solve our problem! Here i'll explain my opinion about how we may have symbols working.

1) If we look at l2j we may see 3 tables in db:

Code:
character_hennas (
char_obj_id decimal(11) ,
symbol_id decimal(11) ,
slot decimal(1) ,
PRIMARY KEY (char_obj_id,slot)
);



Code:
henna (
symbol_id int(11) ,
symbol_name varchar(45) ,
dye_id int(11) ,
dye_amount int(11) ,
price int(11) ,
stat_INT decimal(11) ,
stat_STR decimal(11) ,
stat_CON decimal(11) ,
stat_MEM decimal(11) ,
stat_DEX decimal(11) ,
stat_WIT decimal(11) ,
PRIMARY KEY (symbol_id)
);



Code:
henna_trees (
class_id decimal(10) ,
symbol_id decimal(10) ,
PRIMARY KEY (class_id)
);



We can modify them, remove some records and add to our DB! Here we must think what to remove only!

2) 2 of 3 tables we should fill (henna_trees and henna) with some data. Info we can get from l2j too!

3) Basic functions, that operates with db and set/set off hennas also we may take from l2j.

4) BUT! I don't know how to operate with players stats without AI! We must write stored procedure such as enchantItem, but for stats! And others - for reset stats!

This is info for think on! Let's do it! Your ideas?

khul is offline  
Old 16.01.2006, 00:24   #2
Eliot
Архивный участник
 
Join Date: Mar 2005
Posts: 368
Default

From the extensive usage of the word "some" i belive that You have absolutely NO IDEA how to do it.

And for Your convenience i'll just say that this already has been done, and is posted on this forums, and it's not handled by DB which will need a humongous hexing of CacheD.. The only thing that we dont have now is henna slot.
Eliot is offline  
Old 16.01.2006, 00:39   #3
khul
Архивный участник
 
Join Date: Oct 2005
Posts: 153
Default

Quote:
Originally Posted by Eliot
From the extensive usage of the word "some" i belive that You have absolutely NO IDEA how to do it.

And for Your convenience i'll just say that this already has been done, and is posted on this forums, and it's not handled by DB which will need a humongous hexing of CacheD.. The only thing that we dont have now is henna slot.
[offtopic]I find myself in the need of remind you that your coments , as ussual ,are usseless. And this kind of things closed first thread. go to RZ to do such thing.[/offtopic]
Shared project for henna tatoos never got completed. And slot for dyes i believe is not hard since ive seen a couple of servers with such thing working.Maybe next time you ll try to open your brain before open your mouth and actually contribute to comunity in a helpfull way.
khul is offline  
Old 16.01.2006, 01:05   #4
Eliot
Архивный участник
 
Join Date: Mar 2005
Posts: 368
Default

And You contributed to community in a helpful way EVER ?
You are just one of the idiots who want us to do the work for You. So dont start this on me. I tried to tell you that an easy solution for noobs like You is already posted. But You seem to want MORE and MORE and BETTER and BETTER like all the newbies here.
So, MOVE YOUR BRAIN. Because i dont need to, i already have it done.

And if You want to start a "project" for the community, it's always nice to contribute something first. Not just say : "look, it's my thread, make fixes for me".

So, go back where you came from.

PS: Idiots who say "i think it's easy" make me laugh You say exacly like TheOrder. You are bunch of people that have ABSOLUTELY NO IDEA about L2Off, what are You exacly doing here ? Bored of L2j ?
Eliot is offline  
Old 16.01.2006, 01:24   #5
Flamestrike
Архивный участник
 
Join Date: Aug 2005
Posts: 434
Default

So are we gonna start flaming again in this thread too or start working like a freakin' tight community and fix something?
Flamestrike is offline  
Old 16.01.2006, 02:38   #6
khul
Архивный участник
 
Join Date: Oct 2005
Posts: 153
Default

i vote for working as we should.
I ve found a program that converts mysql db mssql , maybe this would help to this work ? let me know how if it is so and maybe we can get something ussefull out of that.
khul is offline  
Old 16.01.2006, 05:29   #7
Flamestrike
Архивный участник
 
Join Date: Aug 2005
Posts: 434
Default

I`m with you dude...just let us know what ur next move..and i`ll try to support.
Flamestrike is offline  
Old 16.01.2006, 08:29   #8
TheOrder
Архивный участник
 
Join Date: Sep 2005
Posts: 731
Default

[offtopic]Eliot as usual you just can hold you’re mouth shut ahhh ?? You always tell ppl they are noobs , you always act mean and hard with them . But I can see you have a realy big problem , either you’re mother dropped you in the head when you where a child , or someone trowed a rock at you , I don’t know it’s you’re problem . I know kinder garden children that can hold theire mouth better that you ! I don’t understand you , why do you always have to make ppl fill bad . In you’re 286 posts you just make fill ppl fill bad , tell em they are noob and shit like that . I am not sayng that my posts are helpful , but even iff I sometimes spam , I am helping you know why , because I encourage ppl to do something and help each other not like you , tell em they are noobs and make em wanna stop theire activity and never learn something new . Everyone on this forum is a newbie in some domains , and they are tryng to do something about it , why don’t you hold you’re mouth shut and let em do it withought no comments from you ? If I could ignore you’re bullshit and now see you all the time telling ppl they are newbies and make em fill bad , when they are tryng to actually do something believe me I would ![/offtopic]
Kful when you get to some point and need some help tell us and ignore Eliot , he is just acting like a child ! If we work I know we are going to make it work !
TheOrder is offline  
Old 16.01.2006, 11:10   #9
Eliot
Архивный участник
 
Join Date: Mar 2005
Posts: 368
Default

Work on what ? You have absolutely no idea about L2Off. You cant even do a simple script. You cant do anything beside lick others asses. So shut up and get brown.

You encourage people ? Well, then You'll be surprised that some of us stopped developing the community because of You. You may be proud.

I act like a child ? Look at Yourself idiot. I always tell what i think. And im only telling the truth. And You are just a fucking liar. And we are all aware of Your lies. So go back to shithole You came from and leave me alone.

EOT.
Eliot is offline  
Old 16.01.2006, 12:20   #10
drzoom
Архивный участник
 
Join Date: Aug 2005
Posts: 428
Default

People, please stop! Let's work on symbols I can show some examples of packets, but if u will flame this thread - it will be closed!
drzoom is offline  
Old 16.01.2006, 15:46   #11
khul
Архивный участник
 
Join Date: Oct 2005
Posts: 153
Default

LOL lets just ignore the problematic one and keep going on the important thing here.
khul is offline  
Old 16.01.2006, 16:04   #12
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

//99net leechin

final void writeImpl()
{
writeC(228);
writeC(_player.getHennaStatINT());
writeC(_player.getHennaStatSTR());
writeC(_player.getHennaStatCON());
writeC(_player.getHennaStatMEN());
writeC(_player.getHennaStatDEX());
writeC(_player.getHennaStatWIT());
writeD(3);
for(int i = 0; i < 3; i++)
{
L2HennaInstance h = _player.getHenna(i + 1);
if(h != null)
{
writeD(3);
writeD(h.getSymbolId());
} else
{
writeD(3);
writeD(0);
}
}

}

00510963 83F8 09 cmp eax,9
hamidouch is offline  
Old 25.02.2006, 00:03   #13
drzoom
Архивный участник
 
Join Date: Aug 2005
Posts: 428
Default

Hm... Forgot about this post
Quote:
Posted: Mon 16 Jan, 2006 19:04 Post subject:



//99net leechin

final void writeImpl()
{
writeC(228);
writeC(_player.getHennaStatINT());
writeC(_player.getHennaStatSTR());
writeC(_player.getHennaStatCON());
writeC(_player.getHennaStatMEN());
writeC(_player.getHennaStatDEX());
writeC(_player.getHennaStatWIT());
writeD(3);
for(int i = 0; i < 3; i++)
{
L2HennaInstance h = _player.getHenna(i + 1);
if(h != null)
{
writeD(3);
writeD(h.getSymbolId());
} else
{
writeD(3);
writeD(0);
}
}

}
It's from l2j...

But what means 00510963 83F8 09 cmp eax,9 ???
No, i know, what it means, but... What for it?
drzoom is offline  
Old 25.02.2006, 00:16   #14
johnsmith2
Архивный участник
 
Join Date: Jan 2006
Posts: 82
Default

then try this one
Quote:
//────────────────� �────────────────� ��──────
void GetArmoryAttr(DWORD dwArmoryId, LPARMORYATTR lpaa);
void CalcArmoryAttr(DWORD dwArmory[], LPARMORYATTR lpaa);
//────────────────� �────────────────� ��──────
//纹章属性数据
int ArmoryData[145][6] = {
{0, 0, 0, 0, 0, 0}, \
{1, -3, 0, 0, 0, 0}, \
{1, 0, -3,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, 0}, \4457
{1, 0, -2, 0, 0, 0}, \4458
{1, -1, 0, 0, 0, 0}, \4469
{1, 0, -1, 0, 0, 0}, \4470
{-3, 1, 0, 0, 0, 0}, \4447
{0, 1, -3, 0, 0, 0}, \4448
{-2, 1, 0, 0, 0, 0}, \4459
{0, 1, -2, 0, 0, 0}, \4460
{-1, 1, 0, 0, 0, 0}, \4471
{0, 1, -1, 0, 0, 0}, \4472
{-3, 0, 1, 0, 0, 0}, \4449
{0, -3, 1, 0, 0, 0}, \4450
{-2, 0, 1, 0, 0, 0}, \4461
{0, -2, 1, 0, 0, 0}, \4462
{-1, 0, 1, 0, 0, 0}, \4473
{0, -1, 1, 0, 0, 0}, \4474
{0, 0, 0, 1, -3, 0}, \4451
{0, 0, 0, 1, 0, -3}, \4452
{0, 0, 0, 1, -2, 0}, \4463
{0, 0, 0, 1, 0, -2}, \4464
{0, 0, 0, 1, -1, 0}, \4475
{0, 0, 0, 1, 0, -1}, \4476
{0, 0, 0, -3, 1, 0}, \4453
{0, 0, 0, 0, 1, -3}, \4454
{0, 0, 0, -2, 1, 0}, \4465
{0, 0, 0, 0, 1, -2}, \4466
{0, 0, 0, -1, 1, 0}, \4477
{0, 0, 0, 0, 1, -1}, \4478
{0, 0, 0, -3, 0, 1}, \4455
{0, 0, 0, 0, -3, 1}, \4456
{0, 0, 0, -2, 0, 1}, \4467
{0, 0, 0, 0, -2, 1}, \4468
{0, 0, 0, -1, 0, 1}, \4479
{0, 0, 0, 0, -1, 1}, \4480
};
//────────────────� �────────────────� ��──────
//得到纹章属性
void GetArmoryAttr(DWORD dwArmoryId, LPARMORYATTR lpaa)
{
DWORD dwIndex;

dwIndex = dwArmoryId - 36;
if((dwIndex < 0) || (dwIndex > 144))
{
dwIndex = 0;
}
lpaa->str = ArmoryData[dwIndex][0];
lpaa->con = ArmoryData[dwIndex][1];
lpaa->dex = ArmoryData[dwIndex][2];
lpaa->inn = ArmoryData[dwIndex][3];
lpaa->men = ArmoryData[dwIndex][4];
lpaa->wit = ArmoryData[dwIndex][5];
}

//计算所有纹章属性
void CalcArmoryAttr(DWORD dwArmory[], LPARMORYATTR lpaa)
{
ARMORYATTR aa;
int iIndex;

RtlZeroMemory(lpaa, sizeof(ARMORYATTR));
for(iIndex = 0; iIndex < 3; iIndex++)
{
GetArmoryAttr(dwArmory[iIndex], &aa);
lpaa->str += aa.str;
lpaa->con += aa.con;
lpaa->dex += aa.dex;
lpaa->inn += aa.inn;
lpaa->men += aa.men;
lpaa->wit += aa.wit;
}
if(lpaa->str > 5) lpaa->str = 5;
if(lpaa->con > 5) lpaa->con = 5;
if(lpaa->dex > 5) lpaa->dex = 5;
if(lpaa->inn > 5) lpaa->inn = 5;
if(lpaa->men > 5) lpaa->men = 5;
if(lpaa->wit > 5) lpaa->wit = 5;
}
johnsmith2 is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:00.