- Partial fix for bugreport:1222, if you have a pet and the pet egg is flagged as non-droppable and your inventory is full and you try to return the pet to the egg, the egg would drop; now you won't be able to return the pet to the egg.
- Fix for @item, if you use an egg id it would create it regardless of your inventory limit, dropping the item if your inventory is full; now it won't create the egg. - Fixed Bahasa Indonesia translation file, thanks Cydh. - Now the languages at @langtype are displayed as they are written in their original language. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17272 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
617f9b7036
commit
25da833d9b
@ -186,8 +186,8 @@
|
|||||||
169: Item (%d: '%s') tidak bisa dipakai.
|
169: Item (%d: '%s') tidak bisa dipakai.
|
||||||
170: Item ini tidak bisa dipakai.
|
170: Item ini tidak bisa dipakai.
|
||||||
171: %d - sudah habis
|
171: %d - sudah habis
|
||||||
172: Kamu sudah mengganti posisi memo %d - %s (%d,%d).
|
//172: Kamu sudah mengganti posisi memo %d - %s (%d,%d).
|
||||||
173: Level skill 'Warp' belum cukup.
|
//173: Level skill 'Warp' belum cukup.
|
||||||
174: Jumlah Status Point sudah diubah.
|
174: Jumlah Status Point sudah diubah.
|
||||||
175: Jumlah Skill Point sudah diubah.
|
175: Jumlah Skill Point sudah diubah.
|
||||||
176: Jumlah zeny sudah diubah.
|
176: Jumlah zeny sudah diubah.
|
||||||
@ -267,7 +267,7 @@
|
|||||||
250: Kamu sudah membuka penyimpanan.
|
250: Kamu sudah membuka penyimpanan.
|
||||||
251: Kamu sudah membuka penyimpanan guild.
|
251: Kamu sudah membuka penyimpanan guild.
|
||||||
252: Kamu belum bergabung di dalam guild.
|
252: Kamu belum bergabung di dalam guild.
|
||||||
253: Kamu tidak diperbolehkan untuk menggunakan memo di map ini.
|
//253: Kamu tidak diperbolehkan untuk menggunakan memo di map ini.
|
||||||
254: Konfigurasi perintah GM sudah dimuat ulang.
|
254: Konfigurasi perintah GM sudah dimuat ulang.
|
||||||
255: Konfigurasi pertempuran sudah dimuat ulang.
|
255: Konfigurasi pertempuran sudah dimuat ulang.
|
||||||
256: Database status sudah dimuat ulang.
|
256: Database status sudah dimuat ulang.
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
// 20120307 - 2012-03-07aRagexeRE+ - 0x970
|
// 20120307 - 2012-03-07aRagexeRE+ - 0x970
|
||||||
|
|
||||||
#ifndef PACKETVER
|
#ifndef PACKETVER
|
||||||
#define PACKETVER 20120410
|
#define PACKETVER 20100730
|
||||||
//#define PACKETVER 20111116
|
//#define PACKETVER 20111116
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -98,14 +98,14 @@ int msg_langstr2langtype(char * langtype){
|
|||||||
const char* msg_langtype2langstr(int langtype){
|
const char* msg_langtype2langstr(int langtype){
|
||||||
switch(langtype){
|
switch(langtype){
|
||||||
case 0: return "English (ENG)";
|
case 0: return "English (ENG)";
|
||||||
case 1: return "Russian (RUS)";
|
case 1: return "Russkiy (RUS)"; //transliteration
|
||||||
case 2: return "Spanish (SPN)";
|
case 2: return "Español (SPN)";
|
||||||
case 3: return "German (GRM)";
|
case 3: return "Deutsch (GRM)";
|
||||||
case 4: return "Chinese (CHN)";
|
case 4: return "Hànyu (CHN)"; //transliteration
|
||||||
case 5: return "Malasian (MAL)";
|
case 5: return "Bahasa Malaysia (MAL)";
|
||||||
case 6: return "Indonesian (IDN)";
|
case 6: return "Bahasa Indonesia (IDN)";
|
||||||
case 7: return "French (FRN)";
|
case 7: return "Français (FRN)";
|
||||||
case 8: return "Brazilian Portuguese (POR)";
|
case 8: return "Português Brasileiro (POR)";
|
||||||
default: return "??";
|
default: return "??";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -75,6 +75,7 @@ int pet_create_egg(struct map_session_data *sd, int item_id)
|
|||||||
{
|
{
|
||||||
int pet_id = search_petDB_index(item_id, PET_EGG);
|
int pet_id = search_petDB_index(item_id, PET_EGG);
|
||||||
if (pet_id < 0) return 0; //No pet egg here.
|
if (pet_id < 0) return 0; //No pet egg here.
|
||||||
|
if (!pc_inventoryblank(sd)) return 0; // Inventory full
|
||||||
sd->catch_target_class = pet_db[pet_id].class_;
|
sd->catch_target_class = pet_db[pet_id].class_;
|
||||||
intif_create_pet(sd->status.account_id, sd->status.char_id,
|
intif_create_pet(sd->status.account_id, sd->status.char_id,
|
||||||
(short)pet_db[pet_id].class_,
|
(short)pet_db[pet_id].class_,
|
||||||
@ -581,13 +582,23 @@ static int pet_ai_sub_hard_lootsearch(struct block_list *bl,va_list ap);
|
|||||||
|
|
||||||
int pet_menu(struct map_session_data *sd,int menunum)
|
int pet_menu(struct map_session_data *sd,int menunum)
|
||||||
{
|
{
|
||||||
|
struct item_data *egg_id;
|
||||||
nullpo_ret(sd);
|
nullpo_ret(sd);
|
||||||
|
|
||||||
if (sd->pd == NULL)
|
if (sd->pd == NULL)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
//You lost the pet already.
|
//You lost the pet already.
|
||||||
if(!sd->status.pet_id || sd->pd->pet.intimate <= 0 || sd->pd->pet.incuvate)
|
if(!sd->status.pet_id || sd->pd->pet.intimate <= 0 || sd->pd->pet.incuvate)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
egg_id = itemdb_exists(sd->pd->petDB->EggID);
|
||||||
|
if (egg_id) {
|
||||||
|
if ((egg_id->flag.trade_restriction&0x01) && !pc_inventoryblank(sd)) {
|
||||||
|
printf ("THERE WILL NEVER BE ANOTHER TONIGHT = %d.\n", ARRAYLENGTH(sd->status.inventory));
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
switch(menunum) {
|
switch(menunum) {
|
||||||
case 0:
|
case 0:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user