Jump to content

Viello

Inactive Member
  • Posts

    40
  • Joined

  • Last visited

  • Feedback

    0%

1 Follower

About Viello

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Viello's Achievements

Community Regular

Community Regular (8/16)

  • Very Popular Rare
  • Collaborator Rare
  • Dedicated
  • Conversation Starter
  • One Year In

Recent Badges

135

Reputation

  1. whixh freebsd should we use I guess link is dead
  2. how to build
  3. I had download it but I cannot build it how can I do?
  4. how about to change shadow logic, with some realistic shadow will be better trees and obects idk how to build world editor shared version maybe need 2008 visual studio or smt? bool CTerrainAccessor::SaveShadowFromD3DTexture8(const std::string & c_rstrMapName, LPDIRECT3DTEXTURE8 lpShadowTexture) { char szFileName[256]; DWORD ulID = (DWORD)(m_wX) * 1000L + (DWORD)(m_wY); sprintf(szFileName, "%s\\%06u\\shadowmap.bmp", c_rstrMapName.c_str(), ulID); D3DXSaveTextureToFile(szFileName, D3DXIFF_BMP, lpShadowTexture, NULL); { ilInit(); ilEnable(IL_FILE_OVERWRITE); ILuint image; ilGenImages(1, &image); ilBindImage(image); ilLoadImage(szFileName); // Çözünürlügü artir iluScale(4096, 4096, 1); ilSaveImage(szFileName); ilLoadImage(szFileName); ilConvertImage(IL_RGBA, IL_BYTE); iluFlipImage(); ILubyte * pRawData = ilGetData(); sprintf(szFileName, "%s\\%06u\\shadowmap.raw", c_rstrMapName.c_str(), ulID); FILE * fp = fopen(szFileName, "w"); if (fp) { BYTE * pbData = (BYTE *)pRawData; for (int h = 0; h < ilGetInteger(IL_IMAGE_HEIGHT); ++h) { for (int w = 0; w < ilGetInteger(IL_IMAGE_WIDTH); ++w) { BYTE r = *(pbData++); BYTE g = *(pbData++); BYTE b = *(pbData++); BYTE a = *(pbData++); WORD wColor = ((r >> 3) << 10) | ((g >> 3) << 5) | (b >> 3); fwrite(&wColor, sizeof(WORD), 1, fp); } } fclose(fp); } ilDeleteImages(1, &image); } sprintf(szFileName, "%s\\%06u\\shadowmap.bmp", c_rstrMapName.c_str(), ulID); DeleteFile(szFileName); return true; } mapaccessorterrain.cpp file maybe this one will enhance shadow texture? I could not build the old shared source
  5. is there client pack?
  6. even 2020-2023 aeldra stuff run a server in turkey they will lose %75 of players in third week, turkish players are only trying to sell yang and exit server.
  7. thanks for sharing, is there something need to change while adding item proto?
  8. can you share your instancebaseeffect.cpp file
  9. marty can you add HD shadow option for world editor, current one is not realistic
  10. is this system healthy?
  11. I implemented that system and in my mob proto I changed my pet's attribute npc to monster, I can hit my pet and pet hits me back LMAO, and when I try to attack another monster, metin etc. it does not attack. If only I attack my pet it attacks me any opinion on that?
  12. I want to check the map index and give every player 25 demi-human bonus and 5000 hp for that specific map, when he/she goes another map that bonus should be cleaned from player's character how can I make that?
  13. is there a script for it or is there a tutorial to how to modify mdatr?
  14. this is an extra option yep but I want to remane specificly .txt files, for users I can recommend them to use this code with a little modify; Use a list comprehension instead of the for loop to check if the filename contains uppercase characters. Use os.path.splitext() method to get the file extension, and then concatenate it with the lowercase filename. Use the r prefix for the input() function to interpret backslashes as part of the path string. import os def rename_files(path): # Use os.scandir() instead of os.walk() for better performance for entry in os.scandir(path): if entry.is_file(): # Get the filename and extension separately filename, ext = os.path.splitext(entry.name) if any(c.isupper() for c in filename): # Rename file to lowercase and concatenate the extension new_name = filename.lower() + ext os.rename(entry.path, os.path.join(path, new_name)) # Use the r prefix for the input function to interpret backslashes as part of the path string path = input(r"Enter directory path: ") rename_files(path) print("All files have been renamed to lowercase.") maybe this could be the my solution for py user, thanks for contribution to my topic
  15. Sorry for virus total:[Hidden Content] After usage of program it links to my website.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.