PurpleYouko wrote:What exactly do you mean by the "database" in list_skills?
We don't have any skills in databases. We load all skill data from the STBs. We haven't loaded skills from a database since rev 80 in about 2008
Well, I mean the one you provided in your server files,
and so, as I followed the numerous advices and tutorials on this forum, that's one I added like others to the database,
Storage > I'll wait for you see about it, I don't know what to do.
Attack bug > Yes, I'm gonna try to update the server files with yours, while not destroying the modifications I've made.
PurpleYouko wrote:I also just discovered that some of the STBs in the client don't match the ones in the server so I will be adding the good ones into the server soon.
Urg...
Edit://PY: No lamame!! just NO. We don't EVER have to send it here if we actually coded it properly elsewhere.. Sheesh!!
//Special cases.... Facepalm
Wonderful. The joys of coding.
Okay, I've updated ALL my server with your new files. I still have the attack issue, the skills issue, the storage issue.
I found how to display in "basic" the skills (5th column of the list_skills.STB, i've put "11"), or in PAT (32), except they replace existing skills. And as each skill has its own placement, and as there are like 20 different tabs (3 per class, 1 per subclass, something like that), skills replace each other when done that way.
So I need to simply add tabs,
ideally I would just need to be able to display ALL jobs tabs.I think it involves modifying lines 381 to 418 in playerdata.cpp ... I have no idea how though...
- //class skills.
- good_family=0;
- for(UINT i=0;i<MAX_CLASS_SKILL;i++)
- {
- coff[i]=-1;
- char* tmp=strtok((i==0?row[21]:NULL), ",");
- if (tmp==NULL)
- continue;
-
- int temp=atoi(tmp);
- if (temp==0)
- continue;
- int indexfamily=GoodSkill(temp);
- if (indexfamily==-1)
- {
- Log(MSG_WARNING,"Incorrect skill detected %i",temp);
- do_save=true;
- continue;
- }
-
- if (indexfamily!=good_family)
- {
- Log(MSG_WARNING,"Skill %i should be in family %s instead of family %s",temp,tab_names[indexfamily],tab_names[good_family]);
- do_save=true;
- }
-
- if(cur_cskills[indexfamily]>=max_skills[indexfamily])
- {
- Log(MSG_WARNING,"Already too much skills in family %s, no room for skill %i",tab_names[indexfamily],temp);
- do_save=true;
- continue;
- }
-
- cskills[cur_cskills[indexfamily]].id=temp;
- cskills[cur_cskills[indexfamily]].level=1;
- coff[i]=cur_cskills[indexfamily];
- cur_cskills[indexfamily]++;
- }