Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×

Lilith

Members
  • Posts

    407
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Lilith

  1. Remove the clif_displaymessagecolor function in clif.c. You already have this function.
  2. Begin to use rAmod. rAmod already has this feature.
  3. Вообще то спрайт содержит в себе все, что он отображает в игре. Тело отдельно, голова отдельно, оружие отдельно, аура отдельно.
  4. Можно. http://tortoisesvn.net/downloads.html
  5. Есть модификация. http://rathena.org/board/topic/59578-mapflags-noitem-and-noskill2/
  6. Прекрасно запускается, без единой ошибки. Попробуй другой http://supportmii.com/ro1/Clients/2012-04-10aRagexeRE.exe
  7. Jhosef, sorry. candrop_tick.patch
  8. Новые ехе читают настройки с файла в папке SaveData. По умолчанию данная папка находится в корне клиента ( если таковой нет, то необходимо произвести настройку игрового клиента новым сетапом ). Далее - если при диффе ехе стояла опция Read data folder first, то ехе будет читать папку SaveData не из корня, а из папки data. Поэтому, после настройки игрового клиента новым сетапом нужно перед запуском ехе скопировать SaveData в папку data, после чего запускать ехе.
  9. Hex - редактирование игрового ехе
  10. switch(select("Dark Helmet!:Sparkling Dust!:Bye!")) { case 1: break; case 2: break; case 3: break; }
  11. Бывало сталкивался с проблемой образования окончаний у слов, которые обозначают множество того или иного. К примеру, у одного игрока 123 TCG карты, у другого 61 и т.д. Как правильно определить окончание для слова 'карта' в каждом случае? Написал маленькую функцию, думаю, резберётесь. prontera,150,180,5 script Пример 100,{ setarray @word$[1],"карта","карты","карт"; mes "Введите число"; input @c; mes @c+" "+@word$[callfunc("Suffix",@c)]; close; } function script Suffix { set .@num,getarg(0); if( .@num == 1 ) return 1; else if( .@num > 1 && .@num < 5 ) return 2; else if( !.@num || .@num > 4 && .@num < 21 ) return 3; else return callfunc("Suffix",.@num%10); }
  12. Index: atcommand.c =================================================================== --- atcommand.c (revision 16385) +++ atcommand.c (working copy) @@ -1372,7 +1372,7 @@ ACMD_FUNC(item) { char item_name[100]; - int number = 0, item_id, flag; + int number = 0, item_id, flag, level, itemid; struct item item_tmp; struct item_data *item_data; int get_count, i; @@ -1399,6 +1399,26 @@ } item_id = item_data->nameid; + + //To Check the item_deny from sql [Vengence] + if(SQL_ERROR == Sql_Query(mmysql_handle, "SELECT * FROM `item_deny` WHERE `itemid` = '%d'",item_id)) + Sql_ShowDebug(mmysql_handle); + else + { + while( SQL_SUCCESS == Sql_NextRow(mmysql_handle) ) + { + char *data; + Sql_GetData(mmysql_handle, 0, &data, NULL); + itemid = atoi(data); + Sql_GetData(mmysql_handle, 1, &data, NULL); + level = atoi(data); + } + } + if (item_id == itemid && pc_get_group_level(sd) < level) + { + clif_displaymessage(sd->fd, "You are restricted from creating this item."); + return -1; + } get_count = number; //Check if it's stackable. if (!itemdb_isstackable2(item_data))
  13. Если не ошибаюсь, то командой @makehomun <ID>
  14. Если чтение с папки data стоит, то скопируй папку SaveData из корня в папку data.
  15. http://supportmii.com/ro1/Clients/Judas_Setups/2012_Setup/
  16. Проверил на поринге - работает. 4001,Poring_Card,Poring Card,6,20,,10,,,,,,,,16,,,,,{ d+=1; if( d < 2) { bonus bLuk,2; bonus bFlee2,1; } if (isequippedcnt(4001) == d ) {d = 0;} },{},{} Хорошая смекалка
  17. В таком случае была бы ошибка типа И чар сервер бы вообще не запускался
  18. conf/inter_athena.conf 107-108 Такое как motd, mob_item_ratio или skill_tree эмулятор будет читать с файлов.
  19. Not tested... ... getpartymember(getcharid(1)); for( i = 0; i <= $@partymembercount; i++ ) if( isloggedin($@partymemberaid[i],$@partymembercid[i]) ) g++; if( g == $@partymembercount ) mes "All party members online"; ...
  20. Через черепаху качай - http://svn6.assembla.com/svn/ClientSide/Lua_Project/lua%20files/ В папку data клиента вставляй скачанную папку.
×
×
  • Create New...